Divide time by 1000f to get milliseconds