Federal Information Processing Standards
Total Page:16
File Type:pdf, Size:1020Kb
abDi-flfl | MflsiioB ootaan ? | T-£5-£& ISO INTERNATIONAL STANDARD 8601 First edition 1988-06-15 INTERNATIONAL ORGANIZATION FOR STANDARDIZATION ORGANISATION INTERNATIONALE DE NORMALISATION MEJKAi'HAPOflHAR OPTAHH3A14HPI HO CTAHflAPTM3AI4MH Data elements and interchange formats — Information interchange — Representation of dates and times Elements de donnges et formats d’Schange — Echange d'information — ReprSsentation de la date et de I'he u re Reference number LSO 8601: 1988 (E> Copyright bg the INTERNATIONAL ORGANIZATION FOR STANDARDIZATION (ISO) Thu Mar 30 13:10:24 1995 .V * ISO 6LQ1 66 4651103 0104337 S INTERNATIONAL STANDARD ISO 8601 : 1988 TECHNICAL CORRIGENDUM 1 Published 1991-05-01 INTERNATIONAL CRGANIZAtlON FOR STANDARDIZATION-MEJKfiyHAPOfiHAH OPrAHH3AltHtt nOCTAHflAPTH3AUHM-OIIGANISATiaN INTERNATIONALS DE NORMALISATION Data elements and interchange formats — Information interchange — Representation of dates and times TECHNICAL CORRIGENDUM 1 EtSments de donndes et formats d‘6c turn go — Echange d'information — Representation de la date et de I'heure RECT/F/CA TIF TECHNIQUE 1 Technical corrigendum 1 to International Standard ISO 8601 : 1988 was prepared by Technical Committee ISO/TC 154, Documents and data elements in administration, commerce and industry. Subclause 5.3 Lines 3 and 4, delete “[01] to [241" and "[01] to [60]" and insort "(003 to [24]" and "1001 to 1591" Subclause 5.3.1.3 Last line, delete "shall be preceded by a zero" and insert "shall be preceded by two zeros in accordance with 4.6" Page 11 Annex B Clause B.1, Calendar week — 15th week of 1985, extended format column, delete "-5W15" and insert "-5-W15" UDC 529 : 003.62 Ref. No. ISO 8601 : 1988/Cor.l : 1991 (E) Descriptors: Information interchange, documentation, data representation, calendar dates. © ISO 1991 Printed in Switzerland Copyright by the INTERNATIONAL ORGANIZATION FOR STANDARDIZATION (ISO) Thu Mar 30 13:10:24 1995 BbOl-Afl | IfiSnoa QQL3BED 3 | ISO 8601 : 1988 (E) fc 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 membei body interested in a subject for which a technical committee has been established has the right to be reprosented on that committee. International organizations, govern¬ mental 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 ot electrotechnical standardization Draft International Standards adopted by the technical committees are circulated to the member bodies for approval before their acceptance as International Standards by the ISO Council. They are approved in accordance with ISO procedures requiring at least 75 % approval by the member bodies voting. International Standard ISO 8601 was prepared by Technical Committee ISO/TC 154, m Documents and data elements in administration, commerce and industry. It cancels and replaces International Standards ISO 2014 : 1976, ISO 2015 : 1976, ISO 2711 : 1973, ISO 3307 1975 and ISO 4031 : 1978, of which it constitutes a technical revision. Users should note that all International Standards undergo revision from time to time and that any reference made herein to any other International Standard implies its latest edition, unless otherwise stated. © International Organization lor Standardization, 1988 • Printed in Switzerland i! Copyright by the INTERNRTIOHRL ORGANIZATION FOR STANDARDIZATION (ISO) Thu Mar 30 13:10:24 1995 auoi-a& | 4&SLHD3 DObBaei s | ISO 8601 : 1988 (E) Contents Page 0 Introduction. 1 1 Scope and field of application. 1 2 References. 2 3 Terms and definitions. 2 4 Fundamental principles. 3 4.1 Concept. 3 4.2 Common features, uniqueness and combinations . 3 4.3 Characters used in the representations. 3 4.4 Use of separators .. 3 4.5 Truncation . 3 4.6 Leading zero(s). 3 5 Representations. 3 5.1 Explanations. 3 5.2 Dates. 4 5.3 Timeofdsy. 6 5.4 Combinations of date and time of the day representations . 7 5.5 Periods of time.. 8 Annexes A Relationship to ISO 2014, 2015, 2711,3307 and4031 . 10 B Examples of representation of dates, time of the day, combinations of date end time, and periods of time . 11 c Copyright by tho INTERNATIONAL ORGANIZATION FOR STANDARDIZATION (ISO) Thu Nar 30 13:10:24 1995 ■ BbQl-flfl 4551^03 00L3S22 7 INTERNATIONAL STANDARD ISO 8601 : 1988 (E) Data elements and interchange formats — Information interchange — Representation of dates and times 0 Introduction national Standard will not only facilitate interchange across international boundaries, but will also improve the portability of 0.1 Although ISO Recommendations and Standards in this software, and will ease problems of communication within an field have been available since 1971, different forms of numeric organization, as well as between organizations. representation of dates and times have been in common use in different countries. Where such representations are inter¬ 0.6 Several of tho alphabetic and graphic characters used in changed across national boundaries misinterpretation of the the text of this International Standard are common both to the significance of the numerals can occur, resulting in confusion representations specified and to normal typographical presen¬ and other consequential errors or losses. The purpose of this tation. International Standard is to eliminate the risk of misinterpret¬ ation and to avoid the confusion and its consequences. 0.7 To avoid confusion betwenn tho representations and the actual text, its punctuation marks and associated graphic 0.2 This International Standard includes specifications for characters, all the representations are contained in brackets [ ]. the numeric representation of information regarding date and The brackets are nof part of the representation, and should be tima of the day. omitted when implementing the representations. All matter outside the brackets is normal text, and not part of the 0.3 In order to achieve similar formats for the representations representation. In the associated examples, the brackets and of calendar dates, ordinal dates, dates identified by week typographical markings are omitted. number, periods of time, combined date and time of tha day, and differences between local time and Coordinated Universal Time, and fo avoid ambiguities between these representations, 1 Scope and field of application it has been necessary to use, apart from numeric characters, either single alphabetic characters or one or more other graphic This International Standard specifies the representation of characters or a combination of alphabetic and other characters dates in the Gregorian calendar and times and representations in some of the representations. of periods of time. It includes a) calendar dates expressed in terms of year, month and 0.4 The above action has had the benefit of enhancing the day of month; versatility and general applicability of previous International Standards in this field, and provides for the unique represen¬ b) ordinal datos expressed in terms of year and day of tation of any date or time expression or combination of these. year; Each representation can be easily recognized, which is cl dates identified by means of year, week numbers and beneficial when human interpretation is required. day numbers; 0.5 This International Standard retains the most commonly d) tima of the day based upon the 24-hour timekeeping used expressions for date and time of the day and their system; representations from the earlier Internationa! Standards and e) differences between local time and Coordinated Univer¬ provides unique representations for soma new expressions sal Tima (UTC); used in practice. Its application in information interchange, especially between data processing systems and associated f) combination of date and time; equipment will eliminate errors arising from misinterpretation g) periods of time, with or without either a start or end and the costs these generate. The promotion of this Inter¬ date or both. 1 Copyright bg the INTERHfiTIOHflL ORGANIZATION FOR STANDARDIZATION (ISO) Thu Mar 30 13:10:24 1995 flta’l-afl 4^51^03 0Dfe.3fl23 T | ISO 8601 : 1988 <E) 0 This International Standard is applicable whenever dares and 3.8 Gregorian calendar: A calendar in genera! use intro¬ times are included in information interchange. duced in 1582 to correct an error in the Julian calendar. In tho Gregorian calendar common years have 365 days and leap This International Standard does not cover dates and times years 366 days divided into t2 sequential months. where words are used in the representation. 3.9 hour: A period ot time of 60 minutes. This International Standard does not assign any particular meaning or interpretation to any data element that uses 3.10 local time; The clock time in public use locally. representations in accordance with this International Standard. Such meaning will be determined by the context of the appli cation. 3.11 minute: A period of time of 60 seconds. 3.12 month, calendar: A period of time resulting from the 2 References division of a calendar year in twelve sequential periods of time, each with a specific name and containing a specified number of ISO 31-0 : 1981, General principles concerning quantities, units days. In the Gregorian calender, the months of the calendar anti symbols. year, listed in their order of occurrence, are named and contain the number of days as follows: January (31), February (28 In ISO 31-1 : 1978, Quantities and units of space and time common years; 29 in leap years), March (3f), April (30), May (31), June (301, July (31), August (311, September (30), ISO 646: 1983, Information processing — ISO 7 bit coded October (31), November (30), December (31). character set for information interchange. NOTE — In certain applications a month Is regarded as a period of 3 Terms and definitions 30 days For tha purposes ot this International Standard, the following 3.13 period: A duration of time, specified terms and definitions apply. a) as a defined length of time (e.g.