ISO 8601 - Times

Times

hh:mm:ss or hhmmss
hh:mm or hhmm
hh

ISO 8601 uses the 24-hour clock system. The basic format is and the extended format is ::.

  • refers to a zero-padded hour between 00 and 24 (where 24 is only used to notate midnight at the end of a calendar day).
  • refers to a zero-padded minute between 00 and 59.
  • refers to a zero-padded second between 00 and 60 (where 60 is only used to notate an added leap second).

So a time might appear as either "134730" in the basic format or "13:47:30" in the extended format.

It is also acceptable to omit lower order time elements for reduced accuracy: :, and are all used. (The use of alone is considered basic format.)

Midnight is a special case and can be referred to as both "00:00" and "24:00". The notation "00:00" is used at the beginning of a calendar day and is the more frequently used. At the end of a day use "24:00". Note that "2007-04-05T24:00" is the same instant as "2007-04-06T00:00" (see Combined date and time representations below).

Decimal fractions may also be added to any of the three time elements. A decimal mark, either a comma or a dot (without any preference as stated in resolution 10 of the 22nd General Conference CGPM in 2003, but with a preference for a comma according to ISO 8601:2004) is used as a separator between the time element and its fraction. A fraction may only be added to the lowest order time element in the representation. To denote "14 hours, 30 and one half minutes", do not include a seconds figure. Represent it as "14:30,5", "1430,5", "14:30.5", or "1430.5". There is no limit on the number of decimal places for the decimal fraction. However, the number of decimal places needs to be agreed to by the communicating parties.

Read more about this topic:  ISO 8601

Famous quotes containing the word times:

    There are times when words seem empty and only actions seem great. Such a time has come, and in the Providence of God America will once more have an opportunity to show the world that she was born to save mankind.
    Woodrow Wilson (1856–1924)

    But this I know; the writer who possesses the creative gift owns something of which he is not always master—something that at times strangely wills and works for itself.... If the result be attractive, the World will praise you, who little deserve praise; if it be repulsive, the same World will blame you, who almost as little deserve blame.
    Charlotte Brontë (1816–1855)

    In times like ours, where the growing complexity of life leaves us barely the time to read the newspapers, where the map of Europe has endured profound rearrangements and is perhaps on the brink of enduring yet others, where so many threatening and new problems appear everywhere, you will admit it may be demanded of a writer that he be more than a fine wit who makes us forget in idle and byzantine discussions on the merits of pure form ...
    Marcel Proust (1871–1922)