Added function to_24_hour_clock