Set the time correctly or everything fails.