Simple formatting of time variables