How it’s calculated
Military time is the 24-hour clock written as four digits: two for the hour (00–23) and two for the minute, with no colon or AM/PM. Midnight starts the day at 0000 and the day ends at 2359, one minute before the next 0000.
| 12-hour | Military |
|---|---|
| 12:00 AM (midnight) | 0000 |
| 1:00 AM to 11:59 AM | 0100 to 1159 (same hour) |
| 12:00 PM (noon) | 1200 |
| 1:00 PM to 11:59 PM | 1300 to 2359 (add 12 to the hour) |
Example: 2:30 PM is 2 + 12 = 14, so 1430 (said "fourteen thirty"). Going back, 1430 minus 12 hours is 2:30 PM.
About 2400: some schedules write the end of a day as 2400, meaning the same instant as 0000 on the next date. NIST notes that 0000 marks midnight at the start of a date and 2400 the end of it. Only exactly 2400 is allowed; 2430 or 2401 is not a valid time. Because "12 AM" and "12 PM" are easy to misread, writing noon as 1200 and midnight as 0000 (with a date) avoids confusion.
Frequently asked questions
Is midnight 0000 or 2400?
0000 is midnight at the start of a day and 2400 is midnight at the end of the same day. Both are the same instant as the day changes. This converter accepts both and shows 12:00 AM.
How do I convert PM to military time?
Add 12 to the hour for 1 PM to 11 PM (3:15 PM = 1515). 12 PM stays 1200.
How do I convert military time to regular time?
For 0100–1159 it is the same hour in the morning (0830 = 8:30 AM). For 1300–2359 subtract 12 for PM (1745 = 5:45 PM). 0000 is 12:00 AM and 1200 is 12:00 PM.
Do I write a colon?
Military time is usually written without one (1430), but clock-style 14:30 means the same and is accepted here.
Embed this calculator
Add this free calculator to your own website. Copy the code below into your page’s HTML:
Need this calculator branded, changed or built around your own prices?See custom business solutions →
Sources
- Times of Day FAQs — U.S. National Institute of Standards and Technology
- Time and Frequency Division — U.S. National Institute of Standards and Technology
Formulas are taken from the free public references above. Results are provided “as is” for informational and educational purposes only. See our disclaimer.
Added · Last updated · How we check our calculators
Spotted a mistake or missing option? Report a problem· Suggest a calculator