1、ANSI INCITS 30-1997 (R2008)(formerly ANSI X3.30-1997)for Information Technology Representation of Datefor Information InterchangeCopyright American National Standards Institute Provided by IHS under license with ANSI Not for ResaleNo reproduction or networking permitted without license from IHS-,-,-
2、Copyright American National Standards Institute Provided by IHS under license with ANSI Not for ResaleNo reproduction or networking permitted without license from IHS-,-,-American National Standardfor Information Technology Representation of Datefor Information InterchangeANSIX3.30-1997Revision ofAN
3、SI X3.30-1985 (R1991)SecretariatInfromation Technology Industry Council (ITI)Approved June 19, 2008American National Standards Institute, Inc.Copyright American National Standards Institute Provided by IHS under license with ANSI Not for ResaleNo reproduction or networking permitted without license
4、from IHS-,-,-Approval of an American National Standard requires review by ANSI that therequirements for due process, consensus, and other criteria for approvalhave been met by the standards developer.Consensus is established when, in the judgement of the ANSI Board ofStandards Review, substantial ag
5、reement has been reached by directly andmaterially affected interests. Substantial agreement means much more thana simple majority, but not necessarily unanimity. Consensus requires that allviews and objections be considered, and that a concerted effort be madetowards their resolution.The use of Ame
6、rican National Standards is completely voluntary; theirexistence does not in any respect preclude anyone, whether he has approvedthe standards or not, from manufacturing, marketing, purchasing, or usingproducts, processes, or procedures not conforming to the standards.The American National Standards
7、 Institute does not develop standards andwill in no circumstances give interpretation on any American NationalStandard. Moreover, no person shall have the right or authority to issue aninterpretation of an American National Standard in the name of the AmericanNational Standards Institute. Requests f
8、or interpretations should beaddressed to the secretariat or sponsor whose name appears on the titlepage of this standard.CAUTION NOTICE:This American National Standard may be revised orwithdrawn at any time. The procedures of the American National StandardsInstitute require that action be taken peri
9、odically to reaffirm, revise, orwithdraw this standard. Purchasers of American National Standards mayreceive current information on all standards by calling or writing the AmericanNational Standards Institute.American National StandardPublished byAmerican National Standards Institute, Inc.11 West 42
10、nd Street, New York, NY 10036Copyright 1998 by Information Technology Institute Council (ITI)All rights reserved.No part of this publication may be reproduced in anyform, in an electronic retrieval system or otherwise,without prior written permission of the publisher.Printed in the United States of
11、AmericaCAUTION:The developers of this standard have requested that holders of patents that may be re-quired for the implementation of the standard disclose such patents to the publisher. However, nei-ther the developers nor the publisher have undertaken a patent search in order to identify which, if
12、any, patents may apply to this standard.As of the date of publication of this standard and following calls for the identification of patents thatmay be required for the implementation of the standard, no such claims have been made. No furtherpatent search is conducted by the developer or publisher i
13、n respect to any standard it processes. Norepresentation is made or implied that licenses are not required to avoid infringement in the use ofthis standard. Copyright American National Standards Institute Provided by IHS under license with ANSI Not for ResaleNo reproduction or networking permitted w
14、ithout license from IHS-,-,-iContentsPageForewordii1Scope, purpose, and application 12Normative references . 13Definitions. 24Specifications . 25Example 2AnnexABibliography 3Copyright American National Standards Institute Provided by IHS under license with ANSI Not for ResaleNo reproduction or netwo
15、rking permitted without license from IHS-,-,-iiForeword(This foreword is not part of American National Standard X3.30-1997.)This standard provides a single, unambiguous format for representing the date in in-formation interchange. “Date” refers to a 24-hour period of time. The basic represen-tation
16、of date for information interchange specified in this standard is YYYYMMDD,where YYYY refers to a year in the Gregorian calendar, MM refers to a month insuch a year, and DD refers to the day of the month in a year. This standard will be ofinterest to information and data managers, data administrator
17、s, and others responsi-ble for making data sharable. It will also be of interest to manufacturers of repositoryand CASE tool products.This standard addresses the need for a single standard for information interchange ofdate data. Other standards for representing date in information interchanges cont
18、ainvarious options for interchange of date; thus, potential confusion can arise as to theexact format being used for interchange of date. This standard eliminates such po-tential confusion.This standard was developed within the usual consensus process of American Na-tional Standards committees. Know
19、ledgeable experts from the National Institute forStandards and Technology, Lawrence Berkeley Laboratory, and other organizationsparticipated in the development of this standard. Issues were fully discussed, withpros and cons identified, and votes taken to resolve them.This standard contains one info
20、rmative annex, which is not considered part of thisstandard.Requests for interpretation, suggestions for improvement or addenda, or defect reportsare welcome. They should be sent to National Committee for Information TechnologyStandards (NCITS), ITI, 1250 Eye Street, NW, Suite 200, Washington, DC 20
21、005.This standard was processed and approved for submittal to ANSI by NCITS. Com-mittee approval of this standard does not necessarily imply that all committee mem-bers voted for its approval. At the time it approved this standard, NCITS had thefollowing members:Karen Higginbottom, Chair (Acting)Kar
22、en Higginbottom, Vice-ChairMonica Vago, SecretaryOrganization Represented Name of RepresentativeAMP, IncJohn HillCharles Brill (Alt.)Apple Computer, IncDavid K. MichaelJerry Kellenbenz (Alt.)AT it does not describe how the date is determined. This standardwas not designed for (nor does it preclude)
23、usage by humans as input to, or output from, datasystems. This standard does not address how data is converted by data systems to be internallyprocessed and/or stored.1.2 PurposeThe purpose of the American National Standard is to provide a single standard means ofrepresenting calendar date for inter
24、change of dates among data systems.1.3 ApplicationThe representation of calendar date specified in this standard is compatible with other national andinternational standards. In ISO 8601: 1988, the representation specified by this American NationalStandard is referred to as calendar date-complete re
25、presentation-basic format, except that thenotation YYYY is used instead of CCYY.2 Normative referencesThe following standard contains provisions that, through reference in this text, constitute provisions ofthis American National Standard. At the time of publication, the edition indicated was valid.
26、 Allstandards are subject to revision, and parties to agreements based on this American NationalStandard are encouraged to investigate the possibility of applying the most recent edition of thestandard indicated below.Copies of the following documents can be obtained from ANSI: Approved ANSI standar
27、ds,approved and draft international standards (ISO, IEC, CEN/CENELEC), and approved foreignstandards (including BSI, JIS, and DIN). For further information, contact ANSI Customer ServiceDepartment at 212-642-4900 (phone), 212-302-1286 (fax) or via the World Wide Web athttp:/www.ansi.org .ISO 8601: 1
28、988, Data elements and interchange formats Information interchange Representation of dates and timesCopyright American National Standards Institute Provided by IHS under license with ANSI Not for ResaleNo reproduction or networking permitted without license from IHS-,-,-ANSI X3.30-199723 Definitions
29、For this American National Standard, the following definitions apply:3.1 calendar date: A particular year, month, and day of the Gregorian calendar.3.2 calendar day: A particular day within a Gregorian calendar month.3.3 calendar month: A particular month within a Gregorian calendar year.3.4 calenda
30、r year: A particular year according to the Gregorian calendar.3.5 Gregorian calendar: A calendar introduced in the year 1582 AD and now in general use.4 Specifications4.1 The calendar date shall be represented by eight numeric characters. The calendar date shall berepresented in the order of calenda
31、r year (YYYY), calendar month (MM), and calendar day (DD). Nocharacters may be added or omitted.4.2 The allowed values for calendar year are “0001“ through “9999“. Calendar year is presumed tobe anno Domini (A.D.), or Common Era (CE), unless otherwise specified.4.3 The allowed values for calendar mo
32、nth are “01“ through “12“, with a leading zero where thenumber representing the month has only one digit. January is represented by the ordinal number“01“, and subsequent months are numbered in ascending sequence from “02“ to “12“.4.4 The allowed values for calendar day are “01“ through “31“, depend
33、ing on the number of daysin a calendar month, with a leading zero where the number representing the day has only one digit.The first day of the month is represented by the ordinal number “01“, and subsequent days arenumbered in ascending sequence from “02“ to the end of the month.5 ExampleThe fourth
34、 day of July in the year 1776 is represented as “17760704“.Annex A(informative)BibliographyFor a description of the Gregorian calendar, see Explanatory Supplement to the AstronomicalAlmanac, ed: P.K. Seidelmann (University Science Books, Mill Valley, CA, 1992).Copyright American National Standards Institute Provided by IHS under license with ANSI Not for ResaleNo reproduction or networking permitted without license from IHS-,-,-