Cast time to long to make it use ticks.