The 24-hour clock is the convention of time keeping in which the day runs from midnight to midnight and is divided into 24 hours, indicated by the hours passed since midnight, from 0 to 23. This system is the most commonly used time notation in the world today, and is used by international standard ISO 8601. In the practice of medicine, the 24-hour clock is generally used in documentation of care as it prevents any ambiguity as to when events occurred in a patient's medical history. It is popularly referred to as military time in the United States, and a handful of other countries where the 12-hour clock is still dominant.
A time of day is written in the 24-hour notation in the form hh:mm (for example 01:23) or hh:mm:ss (for example, 01:23:45), where hh (00 to 23) is the number of full hours that have passed since midnight, mm (00 to 59) is the number of full minutes that have passed since the last full hour, and ss (00 to 59) is the number of seconds since the last full minute. In the case of a leap second, the value of ss may extend to 60. A leading zero is added for numbers under 10. This zero is optional for the hours, but very commonly used in computer applications, where many specifications require it (for example, ISO 8601).
Where subsecond resolution is required, the seconds can be a decimal fraction; that is, the fractional part follows a decimal dot or comma, as in 01:23:45.678. The most commonly used separator symbol between hours, minutes and seconds is the colon, which is also the symbol used in ISO 8601. In the past, some European countries used the dot on the line as a separator, but most national standards on time notation have since then been changed to the international standard colon. In some contexts (including the U.S. military and some computer protocols), no separator is used and times are written as, for example, "2359".
In East Asia, time notation was 24-hour before westernization in modern times. The clocks were changed into 12 dual-hours style when they were shipped to China in the Qing dynasty.