Set the correct time.