Adjust time to milliseconds