Military Time Converter
Convert supplied military-style 24-hour times to AM/PM and convert AM/PM back, with validation, midnight and noon examples, copy, and fullscreen.
12-hour and 24-hour conversion rules
The military-style input accepts one to four digits or an hour-and-minute value such as 17:30. Minutes must be 00 through 59. Hours must be 00 through 23. This converter also accepts 2400 and interprets it as midnight, equal to 00:00. Other 24-hour values are rejected.
To convert a PM time other than 12 PM, add 12 to the hour. To convert an hour from 13 through 23, subtract 12 and label it PM. Midnight is 12:00 AM and 00:00. Noon is 12:00 PM and 12:00.
Example: 1730 separates into hour 17 and minute 30. Subtracting 12 from 17 gives 5, so the result is 5:30 PM. In the other direction, 7:05 AM keeps hour 7 and pads it to produce 07:05. The converter performs no rounding.
The value contains no date or location. A short military-style time is not a time zone, and this page does not infer UTC or Zulu time.
Sources: National Wildfire Coordinating Group military time guide.
Convert in either direction
Enter four-digit 24-hour time on the left or a 12-hour time with AM or PM on the right. The converter validates the civil-time ranges before producing the paired value.
- 0000 converts to 12:00 AM.
- 1200 converts to 12:00 PM.
- 1730 converts to 5:30 PM.
- 5:30 AM converts to 0530.
The input 2400 is handled as the end-of-day notation documented on the page. Other hours above 23 or minutes above 59 are invalid. This tool converts notation only and does not apply a time zone.
Need the current live 24-hour time instead of converting a written value? Open the military time clock for local or UTC/Zulu display with seconds and fullscreen. For a general colon-formatted live display, use the 24 hour clock.
Conversion scope and limitations
This converter applies standard 12-hour and 24-hour clock formatting rules. It does not determine a timezone, date, or official schedule unless that information is supplied separately.
The result is a format conversion of the entered value. It does not certify the accuracy of a source schedule or add location context.
Maintained by Suhas Sunder. See how iLoveTimers is made.
Last reviewed .