Time Format Converter — 12-Hour to 24-Hour & Military

12-Hour & 24-Hour Time Converter

Time Format Converter

Convert instantly between 12-hour AM/PM and 24-hour military time. Includes a complete military time reference table and international time format conventions.

Live Time Format Converter
Toggle between conversion modes. Enter a time and see the result instantly with step-by-step explanation.

12-Hour Result

14:30

02:30 PM

Step-by-step

  1. Start with 14:30.
  2. 14 hours is 12 or more, so the period is PM.
  3. Convert the hour by taking 14 % 12 which gives 2.
  4. Combine the converted hour with the minutes to get 02:30 PM.
Complete Military Time Reference Table
Every hour from 00:00 to 23:00 with its 12-hour AM/PM equivalent. Use this as a quick-look cheat sheet.
24-Hour (Military)12-Hour (AM/PM)Period of Day
00:0012:00 AMMidnight
01:0001:00 AMMorning
02:0002:00 AMMorning
03:0003:00 AMMorning
04:0004:00 AMMorning
05:0005:00 AMMorning
06:0006:00 AMMorning
07:0007:00 AMMorning
08:0008:00 AMMorning
09:0009:00 AMMorning
10:0010:00 AMMorning
11:0011:00 AMMorning
12:0012:00 PMNoon
13:0001:00 PMAfternoon
14:0002:00 PMAfternoon
15:0003:00 PMAfternoon
16:0004:00 PMAfternoon
17:0005:00 PMEvening
18:0006:00 PMEvening
19:0007:00 PMEvening
20:0008:00 PMNight
21:0009:00 PMNight
22:0010:00 PMNight
23:0011:00 PMNight

The Midnight Rule: Military time uses 00:00 to represent the start of a day and does not use 24:00 (which some timetables use to mean "end of day midnight"). When you see a bus or train schedule listing 24:00, it means the last departure of that calendar day — effectively the same instant as 00:00 of the next day.

International Time Format Conventions
How different regions, systems, and industries represent the same moment in time.

United States & Canada

Format:12-hour with AM/PM
Example:2:30 PM

The 12-hour clock dominates everyday speech and most consumer products. 24-hour notation is used by the military, aviation, and medical professionals.

Europe (EU Standard)

Format:24-hour clock
Example:14:30

Most European countries use 24-hour notation on official signage, transportation timetables, and digital clocks. Everyday speech may still use 12-hour phrasing.

ISO 8601 (International Standard)

Format:YYYY-MM-DDTHH:MM:SS
Example:2024-07-04T14:30:00Z

Used universally in computing, APIs, databases, and file systems. The 'T' separates date from time; 'Z' means UTC. Appending +05:30 specifies a UTC offset.

Unix Timestamp

Format:Seconds since Jan 1, 1970 UTC
Example:1720102200

Unix timestamps count elapsed seconds from the Unix Epoch (00:00:00 UTC, January 1, 1970). Negative values represent dates before 1970. Used in all POSIX operating systems and most programming languages.

Aviation & Military (NATO)

Format:4-digit 24-hour + timezone letter
Example:1430Z (Zulu), 1430L (Local)

Aviation uses 'Zulu' (Z) to mean UTC. Each timezone has a NATO letter: A=UTC+1, B=UTC+2, etc. All international flight plans and ATC communications use Zulu time to avoid confusion.

Excel / Spreadsheet Serial Date

Format:Decimal number
Example:45477.604167 (= 2024-07-04 14:30)

Microsoft Excel stores dates as integers (days since Jan 1, 1900) and times as decimal fractions of a day. Midnight = 0.0, Noon = 0.5, 2:30 PM = 0.604167. This allows date arithmetic using simple subtraction.

The History and Science of Time Formats

Understanding why we have two competing systems for telling the same time.

Ancient Origins of the 12-Hour Clock

The 12-hour clock traces its origins to ancient Egypt, where sundials divided daylight into 12 equal parts. The Egyptians chose 12 because it is highly divisible — by 1, 2, 3, 4, 6, and 12 — making it ideal for informal timekeeping. The Babylonians, whose duodecimal (base-12) number system also influenced the counting of months in a year, reinforced this convention. By the time mechanical clocks were invented in medieval Europe, the 12-hour dial was already the cultural standard in the Western world.

Why the Military Uses 24-Hour Time

Military and emergency services worldwide adopted the 24-hour clock to eliminate AM/PM ambiguity that could prove fatal in operations. Imagine a critical order that says "attack at 6:00" without specifying AM or PM — the 12-hour system creates genuine life-or-death risk. The 24-hour clock spread from military use into aviation, maritime navigation, and eventually most national civil systems. The NATO Phonetic Alphabet time convention also appends timezone letters (Zulu for UTC) to further reduce miscommunication across international forces.

Airline Schedules and Global Transportation

All international airline schedules, airport departure boards, and flight operations use the 24-hour clock. IATA (the International Air Transport Association) mandates 24-hour notation in all official documents and computer reservation systems. Similarly, international rail networks, shipping manifests, and port authorities use 24-hour time to coordinate across multiple timezones without ambiguity. When you see a flight departing at 14:35, there is no question whether that is 2:35 in the afternoon.

The Confusing Case of 12:00 AM and 12:00 PM

The terms "ante meridiem" (before midday) and "post meridiem" (after midday) break down at the exact meridiem itself. Technically, noon is neither before nor after noon — making both "12 AM" and "12 PM" logically paradoxical. Historically, different countries have disagreed on which is which. The current international convention (used by the National Institute of Standards and Technology in the US) is: 12:00 AM = midnight, 12:00 PM = noon. However, the British Broadcasting Corporation and some UK institutions historically used the opposite convention. To avoid confusion entirely, the Chicago Manual of Style recommends writing "noon" and "midnight" rather than "12 PM" or "12 AM."

ISO 8601 and the Computing World

ISO 8601 was first published in 1988 and is now the definitive international standard for date and time notation in computing. Its big-endian format (year first, then month, then day) ensures that dates sort correctly when listed alphabetically or in file systems. The format is used in JSON APIs, HTML datetime attributes, HTTP headers, database timestamps, and virtually every modern programming language. The "Z" suffix (from "Zulu time") indicates UTC, while offsets like +05:30 (India Standard Time) or -05:00 (Eastern Standard Time) describe the local clock offset from UTC.

Medical and Emergency Services

Hospitals, emergency services, and pharmaceutical systems universally rely on 24-hour time. Medication schedules written as "08:00 and 20:00" are unambiguous, whereas "8 AM and 8 PM" require an extra mental step. In emergency dispatch, where seconds matter, 24-hour notation reduces cognitive load and the risk of dispatch errors. Most electronic health record (EHR) systems in the US, UK, and internationally record all timestamps in 24-hour format internally, even when displaying them in 12-hour format to patients.

Countries That Use 24-Hour vs. 12-Hour Time

Primarily 24-Hour (Official Use)

Germany, France, Spain, Italy, Netherlands, Belgium, Sweden, Norway, Denmark, Finland, Poland, Russia, China, Japan, South Korea, Brazil, Argentina, Mexico, most of Africa and the Middle East, and virtually all of continental Europe.

Primarily 12-Hour (Consumer Use)

United States, Canada, Australia, New Zealand, India, Pakistan, Egypt, Saudi Arabia, and the Philippines use 12-hour for everyday speech. However, all these countries use 24-hour for aviation, military, and often medical contexts.