Modifies the time format.