Data elements and interchange formats - Information interchange - Representation of dates and times

Éléments de données et formats d'échange — Échange d'information — Représentation de la date et de l'heure

General Information

Status
Withdrawn
Publication Date
20-Dec-2000
Withdrawal Date
20-Dec-2000
Current Stage
9599 - Withdrawal of International Standard
Start Date
03-Dec-2004
Completion Date
13-Dec-2025
Ref Project

Relations

Standard
ISO 8601:2000 - Data elements and interchange formats -- Information interchange -- Representation of dates and times
English language
29 pages
sale 15% off
Preview
sale 15% off
Preview

Frequently Asked Questions

ISO 8601:2000 is a standard published by the International Organization for Standardization (ISO). Its full title is "Data elements and interchange formats - Information interchange - Representation of dates and times". This standard covers: Data elements and interchange formats - Information interchange - Representation of dates and times

Data elements and interchange formats - Information interchange - Representation of dates and times

ISO 8601:2000 is classified under the following ICS (International Classification for Standards) categories: 01.140.30 - Documents in administration, commerce and industry. The ICS classification helps identify the subject area and facilitates finding related standards.

ISO 8601:2000 has the following relationships with other standards: It is inter standard links to ISO 10284:1997, ISO 8601:1988/Cor 1:1991, ISO 8601:2004, ISO 8601:1988. Understanding these relationships helps ensure you are using the most current and applicable version of the standard.

You can purchase ISO 8601:2000 directly from iTeh Standards. The document is available in PDF format and is delivered instantly after payment. Add the standard to your cart and complete the secure checkout process. iTeh Standards is an authorized distributor of ISO standards.

Standards Content (Sample)


INTERNATIONAL ISO
STANDARD 8601
Second edition
2000-12-15
Data elements and interchange formats —
Information interchange — Representation
of dates and times
Éléments de données et formats d'échange — Échange d'information —
Représentation de la date et de l'heure
Reference number
©
ISO 2000
PDF disclaimer
This PDF file may contain embedded typefaces. In accordance with Adobe's licensing policy, this file may be printed or viewed but shall not
be edited unless the typefaces which are embedded are licensed to and installed on the computer performing the editing. In downloading this
file, parties accept therein the responsibility of not infringing Adobe's licensing policy. The ISO Central Secretariat accepts no liability in this
area.
Adobe is a trademark of Adobe Systems Incorporated.
Details of the software products used to create this PDF file can be found in the General Info relative to the file; the PDF-creation parameters
were optimized for printing. Every care has been taken to ensure that the file is suitable for use by ISO member bodies. In the unlikely event
that a problem relating to it is found, please inform the Central Secretariat at the address given below.
All rights reserved. Unless otherwise specified, no part of this publication may be reproduced or utilized in any form or by any means, electronic
or mechanical, including photocopying and microfilm, without permission in writing from either ISO at the address below or ISO's member body
in the country of the requester.
ISO copyright office
Case postale 56 � CH-1211 Geneva 20
Tel. + 41 22 749 01 11
Fax + 41 22 749 09 47
E-mail copyright@iso.ch
Web www.iso.ch
Printed in Switzerland
ii © ISO 2000 – All rights reserved

Contents Page
Foreword.iv
Introduction.v
1 Scope .1
2 Normative references .1
3 Terms and definitions .2
4 Fundamental principles .5
4.1 Basic concepts.5
4.2 Common features, uniqueness and combinations .5
4.3 Time-units and reference systems.6
4.3.1 Time-units.6
4.3.2 Date and time reference systems.6
4.4 Characters used in the representations.8
4.5 Use of separators.9
4.6 Truncation .9
4.7 Expansion.9
4.8 Leading zeros.9
4.9 Mutual agreement .9
5 Representations.10
5.1 Explanations.10
5.1.1 Characters used in place of digits or signs .10
5.1.2 Characters used as designators .10
5.2 Dates .11
5.2.1 Calendar date .11
5.2.2 Ordinal date.13
5.2.3 Week date .13
5.3 Time of the day.15
5.3.1 Local time of the day .15
5.3.2 Midnight.17
5.3.3 Coordinated Universal Time (UTC) .17
5.3.4 Local time and Coordinated Universal Time.17
5.4 Combinations of date and time of the day .18
5.4.1 Complete representation .18
5.4.2 Representations other than complete .19
5.5 Time-intervals.20
5.5.1 Means of specifying time-intervals.20
5.5.2 Separators and designators .20
5.5.3 Representation of duration.20
5.5.4 Complete representations .21
5.5.5 Representations other than complete .23
5.6 Recurring time-intervals .23
5.6.1 Means of specifying recurring time-intervals.23
5.6.2 Separators and designators .23
5.6.3 Complete representations .24
5.6.4 Representations other than complete .24
Annex A (informative) Relationship to ISO 2014, 2015, 2711, 3307 and 4031 .25
Annex B (informative) Examples .26
Foreword
ISO (the International Organization for Standardization) is a worldwide federation of national standards bodies (ISO
member bodies). The work of preparing International Standards is normally carried out through ISO technical
committees. Each member body interested in a subject for which a technical committee has been established has
the right to be represented on that committee. International organizations, governmental and non-governmental, in
liaison with ISO, also take part in the work. ISO collaborates closely with the International Electrotechnical
Commission (IEC) on all matters of electrotechnical standardization.
International Standards are drafted in accordance with the rules given in the ISO/IEC Directives, Part 3.
Draft International Standards adopted by the technical committees are circulated to the member bodies for voting.
Publication as an International Standard requires approval by at least 75 % of the member bodies casting a vote.
Attention is drawn to the possibility that some of the elements of this International Standard may be the subject of
patent rights. ISO shall not be held responsible for identifying any or all such patent rights.
International Standard ISO 8601 was prepared by Technical Committee ISO/TC 154, Processes, data elements
and documents in commerce, industry and administration.
This second edition cancels and replaces the first edition (ISO 8601:1988), of which it constitues a minor revision. It
incorporates Technical Corrigendum 1:1991.
Annexes A and B of this International Standard are for information only.
iv © ISO 2000 – All rights reserved

Introduction
Although ISO Recommendations and Standards in this field have been available since 1971, different forms of
numeric representation of dates and times have been in common use in different countries. Where such
representations are interchanged across national boundaries misinterpretation of the significance of the numerals can
occur, resulting in confusion and other consequential errors or losses. The purpose of this International Standard is to
eliminate the risk of misinterpretation and to avoid the confusion and its consequences.
This International Standard includes specifications for a numeric representation of information regarding date and time
of the day.
In order to achieve similar formats for the representations of calendar dates, ordinal dates, dates identified by week
number, time-intervals, recurring time-intervals, combined date and time of day, and differences between local time
and Coordinated Universal Time, and to avoid ambiguities between these representations, it has been necessary to
use, apart from numeric characters, either single alphabetic characters or one or more other graphic characters or a
combination of alphabetic and other characters in some of the representations.
The above action has had the benefit of enhancing the versatility and general applicability of previous International
Standards in this field, and provides for the unique representation of any date or the time expression or combination of
these. Each representation can be easily recognized, which is beneficial when human interpretation is required.
This International Standard retains the most commonly used expressions for date and time of the day and their
representations from the earlier International Standards and provides unique representations for some new
expressions used in practice. Its application in information interchange, especially between data processing systems
and associated equipment will eliminate errors arising from misinterpretation and the costs these generate. The
promotion of this International Standard will not only facilitate interchange across international boundaries, but will
also improve the portability of software, and will ease problems of communication within an organization, as well as
between organizations.
Several of the alphabetic and graphic characters used in the text of this International Standard are common both to
the representations specified and to normal typographical presentation.
To avoid confusion between the representations and the actual text, its punctuation marks and associated graphic
characters, all the representations are contained in brackets [ ]. The brackets are not part of the representation, and
should be omitted when implementing the representations. All matter outside the brackets is normal text, and not part
of the representation. In the associated examples, the brackets and typographical markings are omitted.
INTERNATIONAL STANDARD ISO 8601:2000(E)
Data elements and interchange formats — Information
interchange — Representation of dates and times
1 Scope
This International Standard specifies the representation of dates in the Gregorian calendar and times and
representations of periods of time. It includes
a) calendar dates expressed in terms of year, month and day of the month;
b) ordinal dates expressed in terms of year and day of the year;
c) week dates expressed in terms of year, week number and day of the week;
d) time of the day based upon the 24-hour timekeeping system;
e) differences between local time and Coordinated Universal Time (UTC);
f) combination of date and time;
g) time-intervals;
h) recurring time-intervals.
This International Standard is applicable whenever dates and times are included in information interchange.
This International Standard does not cover dates and times where words are used in the representation and dates
and times where characters are not used in the representation.
This International Standard considers the leap seconds that are occasionally inserted at the end of a calendar month
to maintain astronomic precision of the calendar day.
This International Standard does not assign any particular meaning or interpretation to any data element that uses
representations in accordance with this International Standard. Such meaning will be determined by the context of the
application.
2 Normative references
The following normative documents contain provisions which, through reference in this text, constitute provisions of
this International Standard. For dated references, subsequent amendments to, or revisions of, any of these
publications do not apply. However, parties to agreements based on this International Standard are encouraged to
investigate the possibility of applying the most recent editions of the normative documents indicated below. For
undated references, the latest edition of the normative document referred to applies. Members of ISO and IEC
maintain registers of currently valid International Standards.
ISO 31-0:1992, Quantities and units — Part 0: General principles.
ISO 31-1:1992, Quantities and units — Part 1: Space and time.
ISO/IEC 646:1991, Information technology — ISO 7-bit coded character set for information interchange.
ITU-R RecommendationTF.460-5, Standard-frequency and time-signal emissions.
ITU-R RecommendationTF.686, Glossary.
3 Terms and definitions
For the purposes of this International Standard, the following terms and definitions apply.
3.1
Coordinated Universal Time (UTC)
time scale maintained by the Bureau international des poids et mesures (International Bureau of Weights and
Measures) and the International Earth Rotation Service (IERS) which forms the basis of a coordinated
dissemination of standard frequencies and time signals
NOTE 1 The source of this definition is ITU-R Recommendation TF.686 of the International Telecommunication Union –
Radio. ITU-R has also defined the acronym for Coordinated Universal Time as UTC (see also 5.3.3).
NOTE 2 UTC is often (incorrectly) referred to as Greenwich Mean Time.
NOTE 3 Additional information can be found as follows:
the URL for the ITU http://www.itu.int/itudoc/itu-r/rec/tf/index.html
the URL for the International Bureau of Weights and Measures http://www.bipm.fr
the URL for the International Earth Rotation Service http://hpiers.obspm.fr
3.2
date
identification of a particular calendar day, expressed by some combination of the data elements calendar year,
calendar month, calendar week, calendar day or day of the year
3.3
date, calendar
identification of a particular calendar day by its calendar year, its calendar month and its ordinal number within its
calendar month
3.4
date, ordinal
identification of a particular calendar day by its calendar year and its ordinal number within its calendar year
3.5
date, week
identification of a particular calendar day by the calendar year to which its calendar week belongs, the ordinal
number of its calendar week within that year and its ordinal number within its calendar week
3.6
day
unit of time of 24 hours
3.7
day, calendar
time-interval starting at [0000] and ending at [2400] (which is equal to the beginning of the next calendar day);
typically a calendar day has a duration of 24 h
NOTE 1 A calendar day is often also referred to as day.
NOTE 2 The duration of a calendar day is 24 hours; except if modified by:
— the insertion or deletion of leap seconds, by decision of the IERS, or
— the insertion or deletion of other time intervals, as may be prescribed by local authorities to alter local time.
2 © ISO 2000 – All rights reserved

3.8
duration
quantity (“length”)of time
3.9
format, basic
format of a representation comprising the minimum number of components necessary for the precision required
3.10
format, extended
extension of the basic format that includes additional separators
3.11
Gregorian calendar
calendar in general use; introduced in 1582 to define a year that more closely approximated the tropical year than
the Julian calendar
NOTE 1 The introduction of the Gregorian calendar included the cancellation of the accumulated inaccuracies of the Julian
year. In the Gregorian calendar, a calendar year is either a common year or a leap year; each year is divided into 12 sequential
months.
NOTE 2 In this International Standard the term Gregorian Calendar is used to refer to the reference system described in
4.3.2.1.
3.12
hour
unit of time of 60 minutes, as defined in ISO 31-1
3.13
local time
clock time in public use locally
NOTE The difference between local time and “UTC-time” is established by the (national, regional or local) authority
responsible for these matters. The difference depends upon the time zone and may also be varied in the course of a year.
3.14
minute
unit of time of 60 seconds, as defined in ISO 31-1
3.15
month
unit of time of 28, 29, 30 or 31 days
NOTE In certain applications a month is regarded as a unit of time of 30 days.
3.16
month, calendar
time-interval resulting from the division of a calendar year in 12 sequential time-intervals, each with a specific name
and containing a specified number of calendar days
NOTE 1 In the Gregorian calendar, the months of the calendar year, listed in their order of occurrence, are named and
contain the number of days as follows: January (31), February (28 in common years; 29 in leap years), March (31), April (30),
May (31), June (30), July (31), August (31), September (30), October (31), November (30), December (31).
NOTE 2 A calendar month is often also referred to as month.
3.17
period of time (time-interval)
portion of time between two time points
NOTE Aperiodoftimeisoften also referredtoasperiod.
3.18
recurring time-interval
series of consecutive time-intervals of the same duration
3.19
representation, complete
representation that includes all the date and time elements associated with the expression; limited, if applicable, by
representations expressing the calendar year by four digits
3.20
representation, decimal
expansion of a representation by addition of a decimal fraction to the lowest order component of the expression
3.21
representation, expanded
expansion of a representation to allow identification of dates in calendar years outside the range [0000] till [9999]
3.22
representation, truncated
abbreviation of a representation by omission of higher order components starting from the left-hand side of the
expression
NOTE 1 See also 4.6.
NOTE 2 An expression for duration, in the format with time-unit designators, is referred to as truncated if components with
valuezeroare omitted(see5.5.3.1).
3.23
representation with reduced precision
abbreviation of a representation by omission of lower order components starting from the right-hand side of the
expression
3.24
second
basic unit of measurement of time in the International System of Units, (SI) as defined in ISO 31-1
3.25
second, leap
intentional time step of one second used to adjust UTC to ensure approximate agreement with UT1 (a time scale
based on the rotation of the Earth); an inserted second is called positive leap second and an omitted second is
called negative leap second (see ITU-R Rec.TF.460-5)
NOTE A positive leap second is inserted between 23:59:59Z and 24:00:00Z and can be represented as 23:59:60Z.
Negative leap seconds are achieved by the omission of 23:59:59Z. Insertion or omission takes place as determined by IERS,
normally on June 30th or December 31st, but if necessary on March 31st or September 30th.
3.26
time-point
instant in the laps of time regarded as dimensionless
3.27
week
unit of time of seven days
3.28
week, calendar
time-interval of seven days, starting on a Monday and identified by its ordinal number within a calendar year
NOTE A calendar week is often also referred to as week.
4 © ISO 2000 – All rights reserved

3.29
year
unit of time of which the duration equals the duration of a calendar year
3.30
year, calendar
cyclic time-interval in a calendar which is required for one revolution of the earth around the sun (approximated to
an integral number of calendar days)
NOTE A calendar year is often also referred to as year.
3.31
year, centennial
�Gregorian calendar� calendar year whose year number is divisible by hundred an integral number of times
3.32
year, common
�Gregorian calendar� calendar year that has 365 days
3.33
year, leap
�Gregorian calendar� calendar year that has 366 days
NOTE The rules used for assigning the extra day are given in 4.3.2.1.
4 Fundamental principles
4.1 Basic concepts
For the purpose of this International Standard, four concepts are fundamental:
� Time-point: an instant in the laps of time regarded as dimensionless. Time-points are determined by
specifying their position (i.e. their 'distance' in time from the zero-point) in a time oriented reference system.
� Time-interval: a portion of time between two time-points. These time-points are respectively labelled “start”
and “end”. Time intervals may be specified by these two time-points, by one of these time-points and the
temporal distance between the points or by the temporal distance between these points only.
� Recurring time-interval: a series of consecutive time-intervals of the same duration. Recurring time-intervals
may be specified by specification of one time-interval and the number of recurrences.
� Duration: a quantity (“length”) of time. Duration is a physical unit expressed in the units of time of the
International System of Units (SI), as defined in ISO 31-1.
Both precise and approximate time-points and time-intervals can be identified by means of unique and unambiguous
expressions specifying the relevant dates and times of the day. This International Standard specifies a set of rules for
the representation of dates, times-of-the day, time-intervals and recurring time-intervals. The degree of precision
required and obtainable can be varied by including or deleting the appropriate time elements (such as seconds).
4.2 Common features, uniqueness and combinations
The decreasing order of components, left-to-right, is common to the expressions for
� points in time;
� dates only;
� times only;
� time-intervals;
� recurring time-intervals;
� any abbreviation of the above.
4.3 Time-units and reference systems
4.3.1 Time-units
Duration referred to in this International Standard shall be expressed in one or more of the following units:
� second: a basic unit of measurement of time in the International system of units (SI), defined in ISO 31-1:1992
� minute: a time-unit of 60 seconds
� hour: a time-unit of 60 minutes
� day:a time-unitof 24 hours
� week: a time-unit of seven days.
� month:atime-unitof 28,29,30 or 31days.
NOTE In certain applications a month is regarded as a unit of time of 30 days.
� year: a time-unit of 12 months, considered to approximate the duration required for one revolution of the earth
around the sun. See also 4.3.2.1.
4.3.2 Date and time reference systems
4.3.2.1 The Gregorian calendar
This International Standard uses the Gregorian calendar for the identification of calendar days.
The Gregorian calendar provides a reference system consisting of a, potentially infinite, series of contiguous
calendar years. Consecutive calendar years are identified by sequentially assigned year numbers. A reference
point is used which assigns the year number 1875 to the calendar year in which the “Convention du mètre” was
signed at Paris.
The Gregorian calendar distinguishes common years with a duration of 365 calendar days and leap years with a
duration of 366 calendar days. A leap year is a year whose year number is divisible by four an integral number of
times. However, centennial years are not leap years unless they are divisible by four hundred an integral number of
times.
This International Standard allows the identification of calendar years by their year number for years both before
and after the introduction of the Gregorian calendar. For the determination of calendar years and year numbers
only the rules mentioned above are used. For the purposes of this International Standard these rules are referred
to as the Gregorian calendar. The use of this calendar for dates preceding the introduction of the Gregorian
calendar (i.e. before 1582) should only be done by agreement of the partners in information interchange.
NOTE 1 In the prolaptic Gregorian calendar the calendar year [0000] is a leap year.
NOTE 2 No dates shall be inserted or deleted when determining dates in the prolaptic Gregorian calendar (this may be
necessary for the calculation of dates in the Julian calendar before 1582). Also note that the year numbers of years before the
6 © ISO 2000 – All rights reserved

calendar year [0001] differ from the year numbers in the “BC/AD calendar system”, where the year “1BC” is followed by the
year “1AD”.
In the Gregorian calendar each year is divided in 12 sequential calendar months as indicated in Table 1.
Table 1 — Calendar months
Calendar month Calendar Number of days Ordinal dates of the Ordinal dates
number month name in the month days in common ofthedaysin
years leap years
01 January 31 01-31 01-31
02 February 28 32-59 32-60
(leap year 29)
03 March 31 60-90 61-91
04 April 30 91-120 92-121
05 May 31 121-151 122-152
06 June 30 152-181 153-182
07 July 31 182-212 183-213
08 August 31 213-243 214-244
09 September 30 244-273 245-274
10 October 31 274-304 275-305
11 November 30 305-334 306-335
12 December 31 335-365 336-366
4.3.2.2 The calendar week
In parallel with the reference system described in 4.3.2.1, there is a reference system based on an unbounded series
of contiguous calendar weeks. Each calendar week has seven calendar days as indicated in Table 2.
Table 2 — Calendar days
Ordinal day Calendar day
number in the name
week
01 Monday
02 Tuesday
03 Wednesday
04 Thursday
05 Friday
06 Saturday
07 Sunday
The reference point of the week calendar assigns Saturday to 2000 January 1.
A calendar week is identified within a calendar year by the calendar week number. This is its ordinal position within
the year, applying the rule that the first calendar week of a year is the one that includes the first Thursday of that year
and that the last calendar week of a calendar year is the week immediately preceding the first calendar week of the
next calendar year.
NOTE 1 These rules provide for a calendar year to have 52 or 53 calendar weeks;
NOTE 2 The first calendar week of a calendar year may include up to three days from the previous calendar year; the last
calendar week of a calendar year may include up to three days from the following calendar year;
NOTE 3 The time-interval formed by the week dates of a calendar year is not the same as the time-interval formed by the
calendar dates or ordinal dates for the same year. For instance:
th nd
— Sunday 1995 January 1 is the 7 day of the 52 week of 1994, and
nd st
— Tuesday 1996 December 31 is the 2 day of the 1 week 1997.
NOTE 4 The rule for determining the first calendar week is equivalent with the rule “the first calendar week is the week which
includes January 4”.
4.3.2.3 Dates
Each calendar day can be identified by a calendar date, an ordinal date, or a week date.
A calendar date identifies a calendar day by
� its calendar year;
� its calendar month, and
� its ordinal number within its calendar month.
An ordinal date identifies a calendar day by
� its calendar year, and
� its ordinal number within the calendar year.
A week date identifies a calendar day by
� the calendar year to which its calendar week belongs;
� the calendar week number of its calendar week within that year, and
� its ordinal number within its calendar week.
4.4 Characters used in the representations
The representations specified in this International Standard use digits, alphabetic characters and special characters
specified in ISO/IEC 646. The particular use of these characters is explained in 4.5 and 5.1.
NOTE 1 Where the upper case characters are not available lower case characters may be used.
NOTE 2 Encoding of characters for the interchange of dates and times is not in the scope of this International Standard.
The space character shall not be used in the representations.
8 © ISO 2000 – All rights reserved

4.5 Use of separators
When required, the following characters shall be used as separators:
[-] (hyphen): to separate the time elements “year” and “month”, “year” and “week”, “year” and “day”, “month” and
“day”,and “week” and “day”;
NOTE 1 The hyphen may also be used to indicate omitted components.
[:] (colon): to separate the time elements “hour” and “minute”, and “minute” and “second”.
[/] (solidus): to separate the two components in the representation of time-intervals or recurring time-intervals.
[#] (number sign): to separate in the representation of a recurring time-interval the time-interval and the
recurrence factor.
NOTE 2 Representations defined by this International Standard also make use of the decimal separator.
4.6 Truncation
By mutual agreement of the partners in information interchange it is permitted to omit higher order components
(truncation) in applications where their presence is implied. The addition of a single hyphen in place of each omitted
component may be necessary, to avoid risk of misinterpretation. These leading hyphens may be omitted in the
applications where there is no risk of confusing these representations with others.
Truncation should only be used in situations where the application ensures that the value of the omitted components
can be inferred unequivocally by all communicating parties.
NOTE Insufficient attention to this requirement may give rise to problems like the “millennium bug”.
When truncated representations are used provisions should be made to prevent confusion of the truncated
representations, with other date and time representations used by the application.
4.7 Expansion
By mutual agreement of the partners in information interchange it is permitted to expand the component identifying
the calendar year, which is otherwise limited to at most four digits. This enables reference to dates and times in
calendar years outside the range supported by complete representations, i.e. before the start of the year [0000] or
after the end of the year [9999].
When expanded representations are used, provisions should be made to prevent confusion of the expanded
representations, with other date and time representations used by the application.
4.8 Leading zeros
Each date and time component in a defined representation has a defined length, and leading zeros shall be used as
required.
4.9 Mutual agreement
Some of the representations identified in this International Standard are only allowed by mutual agreement of the
partners in information interchange. Such agreement should ensure that fields in which the representation may
occur is not allowed to hold other representations that cannot be unambiguously distinguished from the agreed
representation.
5 Representations
5.1 Explanations
5.1.1 Characters used in place of digits or signs
[Y] represents a digit used in the time element “year”;
[M] represents a digit used in the time element “month”;
[D] represents a digit used in the time element “day”;
[w] represents a digit used in the time element “week”;
[h] represents a digit used in the time element “hour”;
[m] represents a digit used in the time element “minute”;
[s] represents a digit used in the time element “second”;
[n] represents digit(s), constituting a positive integer or zero;
[�] represents a plus sign [+] if in combination with the following element a positive value or zero needs to be
represented, or
a minus sign [–] if in combination with the following element a negative value needs to be represented.
In addition the following convention applies:
When any of the characters representing a digit is underlined, it represents zero or more digits in the corresponding
time element. The number of digits is to be determined by the interchanging partners.
5.1.2 Characters used as designators
[P] is used as time-interval (period) designator, preceding a data element which represents a given duration of a
time-interval;
[R] is used as recurring time-interval designator, preceding a data element which represents a given duration of
one time-interval of a recurring time-interval or the total expression if there is no duration data element;
[T] is used as time designator to indicate:
� the start of the representation of local time if it is necessary or desirable to designate time of the day
expressions as such,
� the start of the representation of the time of the day in combined date and time of day expressions,
� the start of the representation of the time-units for hour, minute or second in expressions of duration;
[W] is used as week designator, preceding a data element which represents the ordinal number of a calendar
week within the year;
[Z] is used as UTC designator, immediately (without space) following a data element expressing the time of the
day in Coordinated Universal Time (UTC);
In representations of duration (5.5.3.1), the following characters are also used as part of the representation when
required:
10 © ISO 2000 – All rights reserved

[Y][M][W][D][H][M][S]
NOTE In these representations, [M] may be used to indicate “month” or “minute”, or both.
5.2 Dates
For ease of comparison, in all the following examples of representations of dates, the date of 12 April 1985 is used as
an illustration, as applicable.
5.2.1 Calendar date
In expressions of calendar dates
� day of the month (calendar day) is represented by two digits. The first day of any month is represented by
[01] and subsequent days of the same month are numbered in ascending sequence;
� month is represented by two digits. January is represented by [01], and subsequent months are numbered in
ascending sequence;
� year is generally represented by four digits; years are numbered in ascending order according to the
Gregorian calendar by values in the range [0000] to [9999]. Values in the range [0000] through [1582] shall
only be used by mutual agreement of the partners in information interchange.
5.2.1.1 Complete representation
When the application identifies the need for an expression only of a calendar date, then the complete representation
shall be a single numeric data element comprising eight digits, where [YYYY] represents a calendar year, [MM] the
ordinal number of a calendar month within the calendar year, and [DD] the ordinal number of a day within the calendar
month.
Basic format: YYYYMMDD EXAMPLE 19850412
Extended format: YYYY-MM-DD EXAMPLE 1985-04-12
5.2.1.2 Representations with reduced precision
If in a given application it is sufficient to express a calendar date with less precision than a complete representation as
specified in 5.2.1.1, either two, four or six digits may be omitted, the omission starting from the extreme right-hand
side. The resulting representation will then indicate a month, a year or a century, as set out below. When only [DD] is
omitted, a separator shall be inserted between [YYYY] and [MM], but separators shall not be used in the other
representations with reduced precision.
a) A specific month
Basic format: YYYY-MM EXAMPLE 1985-04
Extended format: not applicable
b) A specific year
Basic format: YYYY EXAMPLE 1985
Extended format: not applicable
c) A specific century
Basic format: YY EXAMPLE 19
Extended format: not applicable
5.2.1.3 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 date in the implied century
Basic format: YYMMDD EXAMPLE 850412
Extended format: YY-MM-DD EXAMPLE 85-04-12
b) A specific year and month in the implied century
Basic format: -YYMM EXAMPLE -8504
Extended format: -YY-MM EXAMPLE -85-04
c) A specific year in the implied century
Basic format: -YY EXAMPLE -85
Extended format: not applicable
d) A specific day of a month in the implied year
Basic format: --MMDD EXAMPLE --0412
Extended format: --MM-DD EXAMPLE --04-12
e) A specific month in the implied year
Basic format: --MM EXAMPLE --04
Extended format: not applicable
f) A specific day in the implied month
Basic format: ---DD EXAMPLE ---12
Extended format: not applicable
NOTE 5.2.1.3 includes the definition of representations that are truncated and have reduced precision.
5.2.1.4 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: �YYYYYMMDD EXAMPLE +0019850412
Extended format:�YYYYY-MM-DD EXAMPLE +001985-04-12
b) A specific month
Basic format: �YYYYY-MM EXAMPLE +001985-04
Extended format: not applicable
c) A specific year
Basic format: �YYYYY EXAMPLE +001985
Extended format: not applicable
d) A specific century
Basic format: �YYY EXAMPLE +0019
Extended format: not applicable
NOTE 5.2.1.4 includes the definition of representations that both expanded and have reduced precision.
12 © ISO 2000 – All rights reserved

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.
5.2.3.1 Complete representation
When the application identifies the need for a complete representation of a date identified by calendar week and day
numbers, it shall be one of the alphanumeric expressions as follows, where [YYYY] represents a calendar year, [W] is
the week designator, [ww] represents the ordinal number of a calendar week within the year, and [D] represents the
ordinal number of a day within the calendar week.
Basic format: YYYYWwwD EXAMPLE 1985W155
Extended format: YYYY-Www-D EXAMPLE 1985-W15-5
5.2.3.2 Representation with reduced precision
If the degree of precision required permits, one digit may be omitted from the representation in 5.2.3.1.
a) A specific week
Basic format: YYYYWww EXAMPLE 1985W15
Extended format: YYYY-Www EXAMPLE l985-W15
5.2.3.3 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) Year, week and day in the implied century
Basic format: YYWwwD EXAMPLE 85W155
Extended format: YY-Www-D EXAMPLE 85-W15-5
b) Year and week only in the implied century
Basic format: YYWww EXAMPLE 85W15
Extended format: YY-Www EXAMPLE 85-W15
c) Year of the implied decade, week and day only
Basic format: -YWwwD EXAMPLE -5W155
Extended format: -Y-Www-D EXAMPLE -5-W15-5
d) Year of the implied decade and week only
Basic format: -YWww EXAMPLE -5W15
Extended format: -Y-Www EXAMPLE -5-W15
e) Week and day only of the implied year
Basic format: -WwwD EXAMPLE -W155
Extended format: -Www-D EXAMPLE -W15-5
f) Week only of th
...

Questions, Comments and Discussion

Ask us and Technical Secretary will try to provide an answer. You can facilitate discussion about the standard in here.

Loading comments...