Military time is the 24-hour clock written as four digits, from 0000 to 2359, with no colon and no AM or PM suffix. 1300 is 1:00 PM. 0930 is 9:30 AM. The conversion to regular 12-hour time follows one rule with two edge cases at midnight and noon.
A nurse in Phoenix reading a medication schedule that lists 1430 needs to know that is 2:30 PM, the time for the next dose. A pilot in Frankfurt filing a flight plan with a 0615 departure reads that as 6:15 AM. Both rely on the same conversion, and both have to handle midnight correctly because 0000 and 2400 both appear in the wild.
The conversion rule
For hours 0100 to 1159, the 12-hour time is the same number with a colon and an AM suffix. 0800 becomes 8:00 AM. For hours 1200 to 1259, keep the number and add PM. 1230 is 12:30 PM. For hours 1300 to 2359, subtract 12 from the hour part and add PM. 1830 becomes 6:30 PM. The special case is 0000, which is 12:00 AM, the start of the day.
- 0000 to 0059: add 12 to the hour, label AM (0000 becomes 12:00 AM)
- 0100 to 1159: drop the leading zero, label AM (0930 becomes 9:30 AM)
- 1200 to 1259: keep the hour, label PM (1245 becomes 12:45 PM)
- 1300 to 2359: subtract 12 from the hour, label PM (1830 becomes 6:30 PM)
A conversion table
Here are the values people look up most often. Read down the left column for the 24-hour form and across to the 12-hour equivalent.
- 0000 = 12:00 AM (midnight, start of day)
- 0100 = 1:00 AM
- 0600 = 6:00 AM
- 0900 = 9:00 AM
- 1200 = 12:00 PM (noon)
- 1300 = 1:00 PM
- 1500 = 3:00 PM
- 1800 = 6:00 PM
- 2000 = 8:00 PM
- 2359 = 11:59 PM
The midnight and noon edge cases
Midnight is where most errors happen. 0000 and 2400 both refer to midnight, but they belong to different days. 0000 is the first instant of the day, and 2400 is the last instant of the day, which is the same instant as 0000 of the next day. A shift that ends at 2400 on Tuesday and a shift that starts at 0000 on Wednesday are describing the same moment. To avoid ambiguity, schedules in aviation and medicine use 0000 for a start and 2359 for an end rather than 2400.
Noon is simpler. 1200 is 12:00 PM. The hour 12 in the 12-hour system is the only one where AM and PM look reversed compared to the rest, because 12:00 AM is midnight and 12:00 PM is noon. A common mistake is reading 12:00 AM as noon, which is wrong.
If you store times in a database, store them in 24-hour form. The 12-hour form with AM and PM is a display format, not a storage format, because the AM and PM are easy to drop during data entry.
Why the 24-hour clock exists
The 24-hour clock removes the AM and PM ambiguity entirely, which is why it is the standard in aviation, the military, hospitals, rail timetables, and most of the world outside North America. A flight departing at 1830 has one meaning in every country. The same departure written as 6:30 could be morning or evening until the suffix is added, and the suffix is the part that gets lost.
In the US, the 24-hour clock is called military time because the armed forces adopted it to avoid ambiguity in orders and logs. The form written without a colon, like 1830, is specific to military and aviation usage. The form with a colon, like 18:30, is the civilian 24-hour standard used in Europe and most of Asia for everyday clocks.
Converting the other way
To convert 12-hour time to military time, drop the AM or PM and apply the reverse rule. For 1:00 PM to 11:59 PM, add 12 to the hour. 7:45 PM becomes 1945. For 12:00 AM to 12:59 AM, subtract 12 from the hour, so 12:15 AM becomes 0015. For 12:00 PM to 12:59 PM, keep 12 as the hour, so 12:30 PM becomes 1230. Morning hours from 1:00 AM to 11:59 AM keep their number with a leading zero, so 8:00 AM becomes 0800.
A dispatcher in Miami converting a 9:20 PM delivery window to a 24-hour logistics form writes 2120. The leading zero matters in fixed-width systems, so 9:20 AM becomes 0920, not 920, because the four-digit form is what the scheduling software expects.
Related tools for time format work
The Military Time Converter handles both directions and flags the midnight edge cases. The Time Zone Converter applies the offset before formatting, so a 1430 UTC meeting shows as the correct local 12-hour or 24-hour time in each city. The UTC Time Now page displays the current time in both formats side by side. The Time Format Calculator converts between ISO 8601, 12-hour, and 24-hour strings.