ISO 8601:2000(E)
© ISO 2000 ­ All rights reserved
13
5.2.2 Ordinal date
In expressions of ordinal dates
¾
day of the year
is represented by three decimal digits. The first day of any year is represented by [001] and
subsequent days are numbered in ascending sequence;
¾
year
is represented as in 5.2.1.
5.2.2.1
Complete representation
When the application identifies the need for a complete representation of an ordinal date, it shall be one of the
numeric expressions as follows, where [YYYY] represents a calendar year and [DDD] the ordinal number of a day
within the year.
Basic format:
YYYYDDD
EXAMPLE 1985102
Extended format:
YYYY-DDD
EXAMPLE 1985-102
5.2.2.2
Truncated representations
If, by agreement, truncated representations are used, the basic formats shall be as specified below. In each case
hyphens that indicate omitted components shall be used only as indicated or shall be omitted.
a) A specific year and day in the implied century
Basic format:
YYDDD
EXAMPLE 85102
Extended format:
YY-DDD
EXAMPLE 85-102
b) Day only in the implied year
Basic format:
-DDD
EXAMPLE -102
Extended format:
not applicable
NOTE
Logically, the representation should be [--DDD], but the first hyphen is superfluous and, therefore, it has been
omitted.
5.2.2.3
Expanded representations
If, by agreement, expanded representations are used the basic formats shall be as specified below. In the examples
below it has been agreed to expand the time element year with two digits.
a) A specific day
Basic format:
±
YYYYYDDD
EXAMPLE +001985102
Extended format:
±
YYYYY-DDD
EXAMPLE +001985-102
5.2.3 Week date
In expressions of week dates
¾
day of the week
is represented by one decimal digit. Monday shall be identified as day [1] of any calendar
week, and subsequent days of the same week shall be numbered in ascending sequence to Sunday (day [7]).
¾
calendar week
is represented by two decimal digits. The first calendar week of a year shall be identified as
[01] and subsequent weeks shall be numbered in ascending sequence.
¾
year
is represented as in 5.2.1.