Format Start and End time