Skip to main content
Basics

24-Hour Clock

24-hour clock

Overview

The 24-hour clock represents the time of day using numbers from 0:00 (midnight) to 23:59 (one minute before the next midnight). Unlike the 12-hour (AM/PM) system, it requires no prefix to distinguish morning from afternoon, removing all ambiguity. ISO 8601 mandates 24-hour notation, making it the international standard for data exchange.

Regional Usage

Continental Europe, Japan, South Korea, and China use 24-hour notation in everyday life. In the United States, Canada, and Australia the 12-hour format dominates casual conversation, yet the military (where it is called "military time"), healthcare, and air traffic control mandate 24-hour time. The United Kingdom sits in between, using 12-hour speech informally while adopting 24-hour format in timetables and official documents.

Programming Considerations

Internally, software stores hours as integers 0 through 23 and converts to 12-hour display only when presenting to users whose locale expects it. JavaScript's Intl.DateTimeFormat, for example, provides an hour12 option that toggles the display format. Databases and log files should always record times in 24-hour notation to avoid parsing errors and ambiguity.

XB!LINE

Was this article helpful?

Related Terms

Related Articles