Time & Date
Military Time Converter
This military time converter tool helps you convert 12-hour AM/PM times to 24-hour military format and convert 24-hour times back to 12-hour format.
Quick answer
24-hour time runs from 00:00 through 23:59.
What this tells you
- •24-hour time runs from 00:00 through 23:59.
- •12:00 AM is 00:00 and 12:00 PM is 12:00.
- •Afternoon times add 12 hours in 24-hour conversion.
How to Use
- 1Choose conversion direction.
- 2Enter time in the source format.
- 3For 12-hour input, select AM or PM.
- 4Calculate to get converted time format.
How It Works
Formula
12-hour to 24-hour:
If PM and hour < 12, add 12.
If AM and hour = 12, use 00.
24-hour to 12-hour:
If hour = 0, show 12 AM.
If hour < 12, show AM.
If hour = 12, show PM.
If hour > 12, subtract 12 and show PM.Military time conversion is a rule-based format change, not an arithmetic estimate. The converter preserves minutes and adjusts only the hour plus AM/PM label based on standard 12-hour and 24-hour mapping rules.
Calculation note: values are processed in the order shown above, using the current input units.
Worked Examples
12-hour to 24-hour
Time2:05 PM
Result14:05
24-hour to 12-hour
Time00:15
Result12:15 AM
Frequently Asked Questions
12:00 AM is 00:00 in 24-hour time.
12:00 PM remains 12:00 in 24-hour time.
24-hour format avoids AM/PM ambiguity in schedules and operations.