Change the time to a 24-hour format.