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 timeEnter the time and choose AM or PM
Converted result
Spoken: eighteen thirty hours
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:
- Split the time at the colon: 15:30 → hour 15, minutes 30.
- Adjust the hour: subtract 12 from hours 13–23, change 00 to 12, and keep hours 01–12.
- 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-hour | 12-hour | 24-hour | 12-hour |
|---|---|---|---|
| 00:00 | 12:00 AM (midnight) | 12:00 | 12:00 PM (noon) |
| 01:00 | 1:00 AM | 13:00 | 1:00 PM |
| 02:00 | 2:00 AM | 14:00 | 2:00 PM |
| 03:00 | 3:00 AM | 15:00 | 3:00 PM |
| 04:00 | 4:00 AM | 16:00 | 4:00 PM |
| 05:00 | 5:00 AM | 17:00 | 5:00 PM |
| 06:00 | 6:00 AM | 18:00 | 6:00 PM |
| 07:00 | 7:00 AM | 19:00 | 7:00 PM |
| 08:00 | 8:00 AM | 20:00 | 8:00 PM |
| 09:00 | 9:00 AM | 21:00 | 9:00 PM |
| 10:00 | 10:00 AM | 22:00 | 10:00 PM |
| 11:00 | 11:00 AM | 23:00 | 11: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:
| Detail | 24-hour clock | Military time |
|---|---|---|
| Written form | 21:45 | 2145 |
| Colon | Yes | No |
| 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:
| Tool | 24-hour → 12-hour |
|---|---|
| Excel / Google Sheets | =TEXT(A2,"h:mm AM/PM") |
| Python | t.strftime("%I:%M %p") (%H = 24-hour, %I = 12-hour) |
| JavaScript | d.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.
More military time tools
- Core tool
Military to Standard Time
Turn any 4-digit military time such as 2145 into regular 12-hour AM/PM time.
Open tool - Popular
Standard to Military Time
Convert civilian AM/PM time into 24-hour military time with a leading zero.
Open tool - 24-hour clock
12-Hour to 24-Hour Converter
Switch AM/PM times to the 24-hour format used worldwide.
Open tool - Add / subtract
Military Time Calculator
Add or subtract hours and minutes, or find the time between two military times.
Open tool - Payroll
Time Card & Shift Calculator
Enter clock-in and clock-out times to total shift hours, including overnight shifts.
Open tool - Decimal hours
Military Minutes Conversion
Convert minutes to decimal hours for payroll and time sheets (15 min = 0.25).
Open tool