What it does
The military time converter works both ways:
- 12-hour to military: 2:30 PM becomes 1430.
- Military to 12-hour: 1430 becomes 2:30 PM.
The answer updates as you type. Under it you get the 24-hour time with a colon (14:30), how to say it aloud (“Fourteen thirty hours”), and the time written the other way. At midnight and noon the result also says Midnight or Noon.
How to use it
- Under Convert, choose 12-hour to military or Military to 12-hour.
- For 12-hour time, type the hour and minute and choose AM or PM. For military time, type four digits such as
1430, or with a colon such as14:30. - Select Copy result to put the answer on your clipboard.
The converter remembers the direction, the hour, the minute and AM or PM on this device. A military time you type isn’t kept.
How it’s calculated
A PM hour has 12 added to it, except 12 PM, which stays hour 12. 12 AM is hour 00. Going back, an hour above 12 has 12 taken off it and is PM. At :00, hour 12 is noon and hour 00 is midnight; past :00 they are the noon hour and the midnight hour.
Each result shows the working with your time. For the starting 12-hour time it reads:
2 PM: 2 + 12 = 14, so 2:30 PM is 1430
And for the starting military time:
14 − 12 = 2, PM, so 1430 is 2:30 PM
The calculation rests on these assumptions. 12 AM is midnight and 12 PM is noon. Midnight is written 0000; some write 2400 for the end of a day, which isn’t taken here. The Said as row reads a leading 0 as “zero” and :00 as “hundred”; some people say “oh” for zero. Times are clock times, with no time zone.
Good to know
- Military time has no AM or PM, and the hour runs from 00 to 23.
- Minutes go from 00 to 59. The field says so when a time is outside that.
- One space before or after a four-character time, such as 0905 or 9:05, is ignored.
Privacy
Everything is converted in your browser, on your device. Nothing you type is uploaded. Only your chosen direction, hour, minute and AM or PM are kept, in this browser’s storage, so the page can show them again.