Changed time to milli-seconds.