ISO 8601:2000(E)
© ISO 2000 ­ All rights reserved
19
The following are examples of the complete representation (in basic and extended format) of combinations of
calendar date and time of the day representations:
Basic format:
YYYYMMDDThhmmss
EXAMPLE
19850412T101530
YYYYMMDDThhmmssZ
19850412T101530Z
YYYYMMDDThhmmss
±
hhmm
19850412T101530+0400
YYYYMMDDThhmmss
±
hh
19850412T101530+04
Extended format:
YYYY-MM-DDThh:mm:ss
EXAMPLE
1985-04-12T10:15:30
YYYY-MM-DDThh:mm:ssZ
1985-04-12T10:15:30Z
YYYY-MM-DDThh:mm:ss
±
hh:mm
1985-04-12T10:15:30+04:00
YYYY-MM-DDThh:mm:ss
±
hh
1985-04-12T10:15:30+04
Where complete representations using calendar dates have been shown in 5.4.1, ordinal dates (5.2.2.1) or week
dates (5.2.3.1) may be substituted in a similar fashion.
5.4.2 Representations other than complete
For reduced precision, decimal, truncated or expanded representations of a combined date and time of the day
expression any of the representations in 5.2.1 (for calendar dates), 5.2.2 (for ordinal dates) or 5.2.3 (for week dates)
followed immediately by the time designator [T], may be combined with any of the representations in 5.3.1.1 through
5.3.1.3 (local time of the day), 5.3.3 (UTC) or 5.3.4.2 (local time and the difference with UTC) provided that:
a) the rules specified in those sections are applied;
b) the resulting expression does not qualify as a complete representation in accordance with 5.4.1;
c) the date component shall not be represented with reduced precision and the time component shall not be
truncated. Note that this excludes the date representations in 5.2.1.3 and 5.2.3.3 that are truncated and reduced
and the date representations in 5.2.1.4 and 5.2.3.4 that are expanded and reduced;
d) the expression shall either be completely in basic format, in which case the minimum number of separators
necessary for the required expression is used, or completely in extended format, in which case additional
separators shall be used in accordance with 5.2 and 5.3.
The following are examples of reduced representations of combinations of calendar date and time of the day
representations:
a) Calendar date and local time of the day
Basic format:
YYYYMMDDThhmm
EXAMPLE
19850412T1015
Extended format:
YYYY-MM-DDThh:mm
EXAMPLE
1985-04-12T10:15
b) Ordinal date and coordinated universal time
Basic format:
YYYYDDDThhmmZ
EXAMPLE
1985102T1015Z
Extended format:
YYYY-DDDThh:mmZ
EXAMPLE
1985-102T10:15Z
c) Week date and local time and the difference with UTC
Basic format:
YYYYWwwDThhmm
±
hhmm
EXAMPLE 1985W155T1015+0400
Extended format:
YYYY-Www-DThh:mm
±
hh
EXAMPLE 1985-W15-5T10:15+04