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
Completion Date
03-Dec-2004
Ref Project

Relations

Buy Standard

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

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 8601:2000(E)
©
ISO 2000

---------------------- Page: 1 ----------------------
ISO 8601:2000(E)
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.
© ISO 2000
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

---------------------- Page: 2 ----------------------
ISO 8601:2000(E)
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
© ISO 2000 – All rights reserved iii

---------------------- Page: 3 ----------------------
ISO 8601:2000(E)
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

---------------------- Page: 4 ----------------------
ISO 8601:2000(E)
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.
© ISO 2000 – All rights reserved v

---------------------- Page: 5 ----------------------
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 2000 – All rights reserved 1

---------------------- Page: 6 ----------------------
ISO 8601:2000(E)
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

---------------------- Page: 7 ----------------------
ISO 8601:2000(E)
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.
© ISO 2000 – All rights reserved 3

---------------------- Page: 8 ----------------------
ISO 8601:2000(E)
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

---------------------- Page: 9 ----------------------
ISO 8601:2000(E)
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;
© ISO 2000 – All rights reserved 5

---------------------- Page: 10 ----------------------
ISO 8601:2000(E)
� 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

---------------------- Page: 11 ----------------------
ISO 8601:2000(E)
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
© ISO 2000 – All rights reserved 7

---------------------- Page: 12 ----------------------
ISO 8601:2000(E)
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
...

Questions, Comments and Discussion

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