Skip to content
Free Military Time Calculator

24-hour clock

24-Hour to 12-Hour Converter

A 24-hour to 12-hour converter turns 24-hour clock times into 12-hour AM/PM times: 18:30 becomes 6:30 PM and 09:15 becomes 9:15 AM. Enter any time from 00:00 to 23:59 below.

Enter 3–4 digits, e.g. 0800, 1430, 2359

Valid time

Enter the time and choose AM or PM

Converted result

18:30 = 6:30 PM

Spoken: eighteen thirty hours

24-hour clock, PM hours

24-hourStandard
120012:00 PM
13001:00 PM
14002:00 PM
15003:00 PM
16004:00 PM
17005:00 PM
18006:00 PM
19007:00 PM
20008:00 PM
21009:00 PM
220010:00 PM
230011:00 PM

How to Convert 24-Hour Time to 12-Hour Time

To convert 24-hour time to 12-hour time, subtract 12 from hours greater than 12 and add PM. 3 steps convert any time:

  1. Split the time at the colon: 15:30 → hour 15, minutes 30.
  2. Adjust the hour: subtract 12 from hours 13–23, change 00 to 12, and keep hours 01–12.
  3. Add AM or PM: AM for 00–11, PM for 12–23. 15:30 → 3:30 PM.

24-Hour to 12-Hour Conversion Chart

The chart lists all 24 hours. Minutes carry over unchanged: 06:30 is 6:30 AM and 18:30 is 6:30 PM.

24-hour12-hour24-hour12-hour
00:0012:00 AM (midnight)12:0012:00 PM (noon)
01:001:00 AM13:001:00 PM
02:002:00 AM14:002:00 PM
03:003:00 AM15:003:00 PM
04:004:00 AM16:004:00 PM
05:005:00 AM17:005:00 PM
06:006:00 AM18:006:00 PM
07:007:00 AM19:007:00 PM
08:008:00 AM20:008:00 PM
09:009:00 AM21:009:00 PM
10:0010:00 AM22:0010:00 PM
11:0011:00 AM23:0011:00 PM

Converting Times With Seconds

Seconds never change between the two formats. 13:17:42 (HH:MM:SS) becomes 1:17:42 PM, and 00:05:09 becomes 12:05:09 AM. Convert only the hour.

24-Hour Clock vs. Military Time

The 24-hour clock and military time show the same hours and minutes in 3 different styles:

Detail24-hour clockMilitary time
Written form21:452145
ColonYesNo
Spoken form“twenty-one forty-five”“twenty-one forty-five hours”

Use the military time to standard time converter for 4-digit times without a colon.

Where the 24-Hour and 12-Hour Clocks Are Used

The 12-hour clock is the everyday format in the United States, English-speaking Canada, Australia, New Zealand and the Philippines. Most of Europe, Latin America, Africa and Asia write times in 24-hour format, and Quebec uses the 24-hour clock in French. The ISO 8601 international standard uses 24-hour notation, so airline, rail and bus timetables print departures such as 07:45 and 19:20.

Convert 24-Hour Time in Excel, Google Sheets and Code

To convert 24-hour time in software, format the time with a 12-hour pattern. 4 common tools use these patterns:

Tool24-hour → 12-hour
Excel / Google Sheets=TEXT(A2,"h:mm AM/PM")
Pythont.strftime("%I:%M %p") (%H = 24-hour, %I = 12-hour)
JavaScriptd.toLocaleTimeString("en-US", { hour12: true })
SQL (MySQL)DATE_FORMAT(t, '%h:%i %p')

Who Uses This Tool?

4 groups of people use this tool most:

  • International travelers

    Read European and Asian timetables such as a 18:30 train departure.

  • Remote teams

    Read meeting invites sent in 24-hour format by colleagues abroad.

  • Developers and analysts

    Read server logs and ISO 8601 timestamps in familiar AM/PM time.

  • Students

    Learn the 24-hour clock used in most of the world.

24-Hour to 12-Hour FAQ

How do I convert 24-hour time to 12-hour time?

Subtract 12 from hours 13 to 23 and add PM. Keep hours 01 to 11 with AM, keep 12 with PM, and change 00 to 12 AM. 18:30 becomes 6:30 PM.

What is 17:00 in 12-hour time?

17:00 is 5:00 PM in 12-hour time. 17 − 12 = 5.

What is 00:30 in 12-hour time?

00:30 is 12:30 AM, half an hour after midnight.

Is 24:00 a valid time?

Yes, 24:00 is used for midnight at the end of a day, such as opening hours “09:00–24:00.” It is the same moment as 00:00 of the next day, and most clocks show 00:00.

Is the 24-hour clock the same as military time?

Yes, the 24-hour clock and military time show the same hours. The 24-hour clock keeps the colon (21:00), and military time drops it (2100).

Which countries use the 12-hour clock?

The 12-hour clock is the everyday format in the United States, English-speaking Canada, Australia, New Zealand and the Philippines. Most of Europe, Latin America, Africa and Asia write times in 24-hour format.