Guide
Converting between 12-hour time, the 24-hour clock and military time
Most of the world, and every hospital, airline and armed service, writes times on a 24-hour clock. In the United States and a few other countries the 12-hour clock with am and pm is still the habit, so people keep needing to convert. Military time is the 24-hour clock written as four digits without a colon, such as 0600 or 1745. This page converts between all three forms and shows the whole day in a chart.
How it works
Type a time in any common form. The page reads it into an hour and a minute on the 24-hour clock and then writes it in three ways: the 12-hour form with am or pm, the 24-hour form with a colon and the four-digit military form followed by the word hours. A last line places the time in the day, as midnight, morning, noon, afternoon or evening and night. The result has no dependence on time zones or dates.
Accepted inputs
The reader accepts 2:30 pm, 2:30pm, 14:30, 1430, 0000, 12 am, 7p and the word noon. A time with am or pm must have an hour from 1 to 12, so 13 pm is rejected. A 24-hour time must be between 00:00 and 23:59, and 24:00 is accepted and treated as 00:00, the way some schedules write the end of a day. Minutes above 59 are rejected with a message instead of being carried into the hour.
Midnight and noon
The two special cases cause most of the mistakes. 12:00 am is midnight and becomes 00:00 or 0000, while 12:00 pm is noon and stays 12:00 or 1200. A time just after midnight, such as 12:30 am, becomes 00:30. The chart of all 24 hours makes these visible at a glance, and it shows that 1200 is noon and 0000 is the start of the day.
Edge cases
Military time has no colon and always uses four digits, so 6:05 am is 0605 and midnight is 0000. In speech people say oh six oh five or zero six hundred, and the page prints only the written form. The page reads times as typed and does not adjust for time zones or daylight saving, so 1700 stays 1700 wherever you are.
A worked example
2:30 pm becomes 14:30 on the 24-hour clock and 1430 in military time, and the line for the part of the day says afternoon. 0000 becomes 12:00 am, 00:00 and 0000 hours, labelled as midnight, the start of the day. 1745 becomes 5:45 pm and 17:45. 12 am becomes 00:00, the same as midnight. The chart then lists the hours from 0000 to 2300 with the 12-hour equivalents, such as 1300 for 1 pm and 2100 for 9 pm.
Limits
The page converts the way a time is written. It does not convert between time zones, and it does not subtract or add times, which is the job of the hours calculator or the duration tool. It also does not decide which clock a particular organisation uses, so for a legal record or a medical chart follow the form your institution requires.
Related tools
- Time Zone Converter shifts a clock time from one city to another once the format is clear.
- Minutes to Hours Converter is the next step when a time has to become decimal hours.
- Hours Calculator finds the time between a start and finish written in either format.
- Time Duration Calculator sums lengths of time rather than converting clock readings.
Checked against the current version of the Military Time Converter on .

