Read and write time in 24-hour format
How to read 24-hour time, write it as hh:mm, convert from AM/PM without errors, and decide when 24-hour notation suits your text and readers.
The 24-hour clock numbers the hours of the day from 00 to 23, so every time has its own label and needs no AM or PM. This guide covers how to read it, how to write it in hh:mm form, what converting text from 12-hour notation changes, and when that conversion helps or hurts your readers.
How to tell time on a 24-hour clock
The day starts at 00:00, which is midnight. From midnight until noon, the hours match the 12-hour clock, except that the hour after midnight is written 00 instead of 12. At noon the count does not restart: 12:00 is noon, 13:00 is 1 PM, and so on up to 23:59, one minute before the next midnight. To read an afternoon or evening time, subtract 12 from any hour of 13 or higher. For example, 17:45 is 5:45 PM.
| 12-hour time | 24-hour time |
| 12:00 AM (midnight) | 00:00 |
| 12:05 AM | 00:05 |
| 7:15 AM | 07:15 |
| 11:59 AM | 11:59 |
| 12:00 PM (noon) | 12:00 |
| 12:45 PM | 12:45 |
| 2:30 PM | 14:30 |
| 6:00 PM | 18:00 |
| 11:59 PM | 23:59 |
How to write 24-hour time
- Write the hour with two digits and add a leading zero below 10: 07:15, not 7:15.
- Write the minutes with two digits: 14:05.
- Separate hours and minutes with a colon in the common hh:mm form. If you need seconds, add them the same way: 14:05:30.
- Leave out AM and PM. They add nothing, and a marker that contradicts the hour, such as 14:30 PM, creates doubt.
- To convert from 12-hour time, change 12 AM to 00. Keep 1 to 11 AM as they are, adding a leading zero where needed. Keep 12 PM as 12. Add 12 to the hours from 1 to 11 PM.
Midnight needs particular care. 00:00 marks the start of a day. Some schedules use 24:00 for the end of a day, such as a closing time. That is the same moment as 00:00 on the following day. If readers might be confused, give the date or use 23:59. Note that 23:59 is one minute earlier, so it is not an exact equivalent.
In everyday writing, the label hh:mm just means a two-digit hour, a colon and two-digit minutes. In software format patterns, letter case changes the meaning. In many date-formatting systems, including those based on Unicode LDML patterns, HH is the 24-hour hour (00–23) and hh is the 12-hour hour (01–12). C-style strftime uses %H for the 24-hour hour and %I for the 12-hour hour. A template labeled hh:mm may therefore produce 12-hour output. Check the documentation of the tool you are using.
HH:mm -> 14:30 (24-hour, LDML-style pattern)
hh:mm a -> 02:30 PM (12-hour, LDML-style pattern)
%H:%M -> 14:30 (24-hour, strftime)
%I:%M %p -> 02:30 PM (12-hour, strftime; AM/PM text can vary by locale)
There are other written forms of the same time. US military usage often drops the colon (1430) and speaks the time as “fourteen thirty,” with times on the hour said as “fourteen hundred.” ISO 8601 allows both the extended form (14:30) and the basic form (1430). Some locales use a period (14.30) or an h separator (14 h 30). All of these mean the same time. Choose one form and use it throughout a document.
What converting to 24-hour notation actually changes
Converting to 24-hour notation changes the stored characters. It is not a visual effect. When “2:30 PM” becomes “14:30,” the digits are rewritten and the AM/PM marker is removed. The new characters are what gets copied, searched and read aloud. This differs from CSS styling or display-only formatting, which leave the underlying text unchanged. Character order and glyph shapes stay as they are, unlike with reversal or mirror tools. Meaning is preserved as long as the conversion follows the rules above. The usual mistakes are turning 12 AM into 12:00 instead of 00:00, turning 12 PM into 24:00, and leaving out the leading zero, which breaks alignment and sorting.
Character substitution is a separate risk. A “font” or text-styling tool may replace the ASCII digits with look-alike Unicode characters, such as fullwidth digits or mathematical bold digits, or replace the colon with the ratio sign (∶). These look similar but are different code points. Parsers, spreadsheets and search may not recognize them as digits or as a time. If software will read the text, or people will search for it, keep the plain digits 0–9 and the standard colon.
Will the result stay readable after copying or sharing?
A 24-hour time written with plain digits is ordinary text and copies cleanly into any destination that accepts text. Whether it stays readable depends on the audience. In the US, the 12-hour clock is the everyday norm. The 24-hour clock is common in military, aviation, healthcare and computing settings. General readers may hesitate over a time like 17:45 or misread it.
Pasting can change what readers see. Many spreadsheet programs detect a value like 14:30 as a time and display it according to the cell format and regional settings, which may be 12-hour. After pasting, check how the value is displayed and whether it was stored as text or as a time value.
No tested evidence was available on how specific screen readers announce 24-hour times. Announcement can depend on the software, the voice and the language settings, so do not assume that one result applies everywhere. If spoken output matters, test with the assistive technology your audience uses. On web pages, the HTML time element with a datetime attribute provides a machine-readable value, and the visible text can use whichever format suits readers. How individual screen readers treat that markup was not verified here.
Give a plain-language equivalent when your audience is mixed or a misread time would be costly, as with public event notices or travel details. Writing “14:30 (2:30 PM)” serves both groups. When a time range crosses midnight or readers are in different regions, also give the date and time zone. The 24-hour format removes AM/PM ambiguity, but it does not settle which day or which zone is meant.
Is converting to 24-hour time right for your use?
Use 24-hour hh:mm when unambiguous times matter most. Good fits include logs, shift and transit schedules, technical data, and text for international or specialist readers. Its main benefit is that no two times of day share a label. Zero-padded hh:mm strings also sort in chronological order within a single day. The main drawback is unfamiliarity for general US audiences. For casual US communication, plain 12-hour text is often the clearer choice, or you can show both formats. Whichever you choose, keep the characters as plain digits and a standard colon, not styled look-alikes.
- Midnight is written 00:00 and noon is 12:00.
- Every hour has two digits, with leading zeros where needed.
- No AM or PM marker remains next to a 24-hour time.
- Any format pattern uses the correct case for the 24-hour hour (HH or %H).
- The digits and colon are plain ASCII, not Unicode look-alikes.
- A 12-hour equivalent, date or time zone is added where readers need it.
- Pasted results have been checked in the destination app, and with a screen reader if spoken output matters.