ISO 8601 uses the
24-hour clock system. As of ISO 8601-1:2019, the
basic format is T[hh][mm][ss] and the
extended format is T[hh]:[mm]:[ss]. Earlier versions omitted the T (representing time) in both formats. • [hh] refers to a zero-padded
hour between 00 and 24. • [mm] refers to a zero-padded
minute between 00 and 59. • [ss] refers to a zero-padded
second between 00 and 60 (where 60 is only used to denote an added
leap second). So a time might appear as either "T134730" in the
basic format or "T13:47:30" in the
extended format. ISO 8601-1:2019 allows the T to be omitted in the extended format, as in "13:47:30", but only allows the T to be omitted in the basic format when there is no risk of confusion with date expressions. Either the seconds, or the minutes and seconds, may be omitted from the basic or extended time formats for greater brevity but decreased precision; the resulting reduced precision time formats are: • T[hh][mm] in
basic format or T[hh]:[mm] in
extended format, when seconds are omitted. • T[hh], when both seconds and minutes are omitted. As of ISO 8601-1:2019/Amd 1:2022, "00:00:00" may be used to refer to
midnight corresponding to the instant at the beginning of a calendar day; and "24:00:00" to refer to midnight corresponding to the instant at the end of a calendar day. ISO 8601-1:2019 as originally published removed "24:00:00" as a representation for the end of day although it had been permitted in earlier versions of the standard. A decimal fraction may be added to the lowest order time element present in any of these representations. A
decimal mark, either a
comma or a
dot on the baseline, is used as a separator between the time element and its fraction. (Following
ISO 80000-1 according to ISO 8601:1-2019, it does not stipulate a preference except within International Standards, but with a preference for a
comma according to ISO 8601:2004.) For example, to denote "14 hours, 30 and one half minutes", do not include a seconds figure; represent it as "14:30,5", "T1430,5", "14:30.5", or "T1430.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. For example, in Microsoft SQL Server, the
precision of a decimal fraction is 3 for a DATETIME, i.e., "yyyy-mm-ddThh:mm:ss[.mmm]".
Time zone designators Time zones in ISO 8601 are represented as local time (with the location unspecified), as
UTC, or as an offset from UTC.
Local time (unqualified) If no UTC relation information is given with a time representation, the time is assumed to be in local time. While it
may be safe to assume local time when communicating in the same time zone, it is ambiguous when used in communicating across different time zones. Even within a single geographic time zone, some local times will be ambiguous if the region observes
daylight saving time. It is usually preferable to indicate a time zone (zone designator) using the standard's notation.
Coordinated Universal Time (UTC) If the time is in
UTC, add a
Z directly after the time without a space.
Z is the zone designator for the zero UTC offset. "09:30 UTC" is therefore represented as "09:30Z" or "T0930Z". "14:45:15 UTC" would be "14:45:15Z" or "T144515Z". The
Z suffix in the ISO 8601 time representation is sometimes referred to as "Zulu time" or "Zulu meridian" because the same letter is used to designate the
Zulu time zone. However, the ACP 121 standard that defines the list of military time zones makes no mention of UTC and derives the "Zulu time" from the
Greenwich Mean Time which was formerly used as the international civil time standard.
GMT is no longer precisely defined by the scientific community and can refer to either UTC or
UT1 depending on context.
Time offsets from UTC The
UTC offset is appended directly to the time instead of "Z" suffix above; other
nautical time zone letters are not used. The offset is applied to
UTC to get the
civil time in the designated
time zone in the format '±[hh]:[mm]', '±[hh][mm]', or '±[hh]'. A negative
UTC offset describes a time zone west of the
prime meridian where the civil time is behind UTC. So the zone designation for
New York (on
standard time) would be "−05:00","−0500", or "−05". Conversely, a positive UTC offset describes a time zone east of the prime meridian where the civil time is ahead of
UTC. So the zone designation for
Cairo will be "+02:00","+0200", or "+02". A time zone where the civil time coincides with UTC is always designated as positive, though the offset is zero (see related specifications below). So the zone designation for
London (on
standard time) would be "
+00:00", "
+0000", or "
+00".
Additional examples • "
−10:00" for
Honolulu • "
−06:00" for
Chicago on
standard time, or
Denver on
daylight saving time • "
−03:00" for
Brasília • "
+01:00" for
London on
British Summer Time • "
+04:00" for
Dubai • "
+05:30" for
India • "
+09:00" for
Japan See
List of UTC offsets for other
UTC offsets.
Other time offset specifications It is not permitted to state a zero value time offset with a negative sign, as "−00:00", "−0000", or "−00". The section dictating sign usage states that a plus sign must be used for a positive or zero value, and a minus sign for a negative value. A
plus-minus-sign () may also be used if it is available. Contrary to this rule, RFC 3339, which is otherwise a profile of ISO 8601, permits the use of "−00" with the same denotation as "+00" but a differing connotation: an unknown
UTC offset. To represent a negative offset, ISO 8601 specifies using a
minus sign (). If the interchange character set is limited and does not have a minus sign character, then the
hyphen-minus should be used ().
ASCII does not have a minus sign, so its hyphen-minus character (code 4510) would be used. If the character set has a minus sign, such as in
Unicode, then that character should be used. The
HTML character entity invocation for is −. ISO 8601-2:2019 allows for general durations for time offsets. For example, more precision can be added to the time offset with the format '±[hh]:[mm]:[ss].[sss]' or '±[n]H[n]M[n]S' as below. ==Combined date and time representations==