Format time events