get the time right