Military time is the 24-hour clock written as four digits with no colon, from 0000 at midnight through 2359. To convert from 12-hour time, keep AM hours and pad to two digits (9:00 AM → 0900); add 12 to PM hours (5:30 PM → 1730). 12:00 AM becomes 0000 and 12:00 PM stays 1200.
How to convert between military and 12-hour time
From 12-hour to military:
- Drop the colon and the AM/PM label, keeping the minutes as the last two digits.
- For AM times, pad the hour to two digits: 7:05 AM → 0705. The one exception is 12 AM, which becomes 00 — so 12:30 AM is 0030.
- For PM times, add 12 to the hour: 5:30 PM → 17 → 1730. The exception is 12 PM, which stays 12 — so 12:45 PM is 1245.
From military to 12-hour:
- Split the four digits into hours (first two) and minutes (last two): 1730 → 17 and 30.
- If the hour is 0, it's 12 AM. If it's 1–11, it's AM as-is. If it's exactly 12, it's 12 PM. If it's 13–23, subtract 12 and mark it PM: 17 − 12 = 5, so 1730 is 5:30 PM.
How the math works
Both clocks describe the same underlying quantity: minutes elapsed since midnight. The 24-hour clock states it directly — 1730 means 17 full hours plus 30 minutes, or 1,050 minutes into the day. The 12-hour clock wraps that count at noon and restarts the hour numbers, using AM and PM to record which half of the day you're in. Conversion is therefore just adding or subtracting 12 hours (720 minutes) for the PM half, with two special cases at the wrap points: hour 0 displays as 12 AM, and hour 12 displays as 12 PM. This converter parses whatever you type into a minutes-since-midnight count, then renders that single number in both notations, which is why the two boxes can never disagree.
Worked example: what is 1730 in regular time?
Take 1730. The first two digits are the hour, 17; the last two are the
minutes, 30. Since 17 is greater than 12, subtract 12: 17 − 12 = 5, and the time is
in the PM half of the day. So 1730 military time is 5:30 PM.
Spoken aloud it's "seventeen thirty." Going the other way: 8:15 AM is before noon,
so the hour stays 8 — pad it to two digits and drop the colon to get
0815, read as "zero eight fifteen."
Military time chart (complete 24-hour reference)
| 12-hour time | Military time | How it's read |
|---|---|---|
| 12:00 AM (midnight) | 0000 | zero hundred |
| 1:00 AM | 0100 | zero one hundred |
| 2:00 AM | 0200 | zero two hundred |
| 3:00 AM | 0300 | zero three hundred |
| 4:00 AM | 0400 | zero four hundred |
| 5:00 AM | 0500 | zero five hundred |
| 6:00 AM | 0600 | zero six hundred |
| 7:00 AM | 0700 | zero seven hundred |
| 8:00 AM | 0800 | zero eight hundred |
| 9:00 AM | 0900 | zero nine hundred |
| 10:00 AM | 1000 | ten hundred |
| 11:00 AM | 1100 | eleven hundred |
| 12:00 PM (noon) | 1200 | twelve hundred |
| 1:00 PM | 1300 | thirteen hundred |
| 2:00 PM | 1400 | fourteen hundred |
| 3:00 PM | 1500 | fifteen hundred |
| 4:00 PM | 1600 | sixteen hundred |
| 5:00 PM | 1700 | seventeen hundred |
| 6:00 PM | 1800 | eighteen hundred |
| 7:00 PM | 1900 | nineteen hundred |
| 8:00 PM | 2000 | twenty hundred |
| 9:00 PM | 2100 | twenty-one hundred |
| 10:00 PM | 2200 | twenty-two hundred |
| 11:00 PM | 2300 | twenty-three hundred |
Reading military time out loud
Three habits separate military time from an ordinary 24-hour clock display. First, it's written without a colon: a wall clock might show 17:30, but a duty roster writes 1730. Second, every time is exactly four digits, so morning hours carry a leading zero — 0600, never 600. That zero is spoken too: 0600 is "zero six hundred," and some services say "oh six hundred." Third, times on the full hour are read as "hundred," not "thousand" — 0900 is "zero nine hundred," 2000 is "twenty hundred." When there are minutes, you simply read both pairs of digits: 1730 is "seventeen thirty," and 0905 is "zero nine zero five." The word "hours" is often appended in U.S. military usage ("seventeen thirty hours"), though it's optional and rarely used in hospitals or aviation.
Midnight: 0000 or 2400?
Midnight is the one moment with two valid labels. 0000 marks midnight as the start of a new day, and is the standard form on digital clocks, schedules, and in most timekeeping systems. 2400 marks the same instant as the end of the previous day, and shows up where the day a time belongs to matters — "the bridge closes at 2400 Friday" unambiguously means the end of Friday, whereas "0000 Friday" means the moment Friday begins, a full 24 hours earlier. This converter, like most software, uses 0000 and treats 2400 as out of range. A practical convention many schedulers use to dodge the ambiguity entirely: write 2359 or 0001 instead of either form of midnight.
Who uses military time, and why
Any field where an AM/PM mix-up is expensive tends to adopt the 24-hour clock. Healthcare charts medications and vitals in 24-hour time because a dose recorded at "7:00" is dangerously ambiguous on a 12-hour clock — 0700 and 1900 are twelve hours apart, and shift handoffs happen around the clock. Aviation uses it for flight plans and air traffic control, usually pinned to Coordinated Universal Time (UTC, called "Zulu" in radio shorthand) so that crews crossing time zones agree on a single clock. The military runs operations across midnight and across the globe, where "see you at 8" is useless without more context. Emergency dispatch, railroads, and shipping logs use it for the same reason. For payroll, the format matters too: punch times written in 24-hour or military form subtract cleanly without AM/PM bookkeeping, which is why timesheet math is easier in 24-hour form — see the guide to calculating time card hours by hand for the full method.
Frequently asked questions
What is 1730 in military time?
1730 is 5:30 PM. The hour digits are 17; subtract 12 to get 5, and because the original hour was 13 or higher, it's PM. It's read aloud as "seventeen thirty."
Is military time the same as the 24-hour clock?
They count hours identically — the difference is notation. The 24-hour clock as
used internationally writes 17:30 with a colon; military style drops the colon
and always uses four digits (1730, 0600). This converter accepts both, plus
12-hour times like 5:30 PM.
Why does the converter reject 2400?
2400 denotes midnight as the end of a day, and most timekeeping software —
including this site's tools — represents that instant as 0000, the start of the
next day. Enter 0000 (or 12:00 AM) for midnight.
How do you say 0900 out loud?
"Zero nine hundred" (you'll also hear "oh nine hundred"). On-the-hour times use "hundred" for the empty minutes; with minutes present you read both pairs, so 0915 is "zero nine fifteen."
Is 12:00 PM noon or midnight?
Noon. The 12-hour clock labels noon 12:00 PM and midnight 12:00 AM, which is a common source of scheduling errors — and one reason the 24-hour clock exists, where noon is unambiguously 1200 and midnight is 0000.
What formats can I type into the converter?
12-hour times (5:30 PM, 5pm, 9 a.m.),
24-hour times with a colon (17:30), and four-digit military times
(1730, 0905). Everything runs in your browser; nothing
you type is sent anywhere.
How do I subtract two military times to get hours worked?
Convert each to minutes (1730 → 17 × 60 + 30 = 1,050), subtract, and divide by 60 — or skip the arithmetic and use the hours calculator, which accepts military times directly. To convert the result for payroll, the decimal hours converter turns h:mm into decimal hours.