Military time converter

Convert a time string between 12-hour and 24-hour formats with AM and PM kept explicit.

What this calculator covers

Use this converter when you need the same clock time displayed in the opposite format without guessing about midnight, noon, or AM versus PM.

The form keeps the meridiem separate for 12-hour input so the conversion logic stays unambiguous.

Frequently asked questions

What is 12:00 PM in military time?
12:00 PM (noon) is 1200 in military time. This is one of the most commonly confused conversions because noon is a transition point — hours before noon subtract 12 when going from 24-hour to 12-hour, but noon itself stays as 12.
What is 12:00 AM in military time?
12:00 AM (midnight) is 0000 in military time, sometimes written as 2400 to mark the end of a day rather than the start of one. This converter treats midnight as 0000.
How do I convert a 24-hour time back to 12-hour format?
For hours from 01 through 11, append AM and keep the hour as-is. For hours from 13 through 23, subtract 12 and append PM. Hour 12 is 12 PM (noon) and hour 00 is 12 AM (midnight).
Why does military time skip a colon in some notations?
In formal military and aviation contexts, times are written without a colon — for example 0930 instead of 09:30. Both refer to the same clock position. This converter accepts the HH:MM colon format for input consistency.

Tool

Run the calculation

Result

RESULT · CONVERTED TIME

â„–095

12-hour to 24-hour conversion turns 9:05 PM into 21:05.

Conversion
12-hour to 24-hour
Input
9:05 PM
Output
21:05

Step-by-step solution

  1. 1.Read the input as 12-hour to 24-hour conversion so the parser knows which clock rules to apply.
  2. 2.Normalize the source time into a 24-hour internal clock position.
  3. 3.Format that internal clock position in the target style to show 21:05.

Walkthrough

Visual walkthrough

Time conversion is mostly about reading the same clock position through two different display systems.

  1. 01

    Interpret the source format

    9:05 PM

    The converter first decides whether the input uses 12-hour or 24-hour clock rules.

  2. 02

    Normalize to one internal clock position

    Shared 24-hour representation

    AM/PM and military-time displays both map to the same point on the 24-hour clock.

  3. 03

    Render the target format

    21:05

    The final label is just the same clock position expressed in the requested display format.

    21:05