Extended Date Time Format (EDTF) Specification (Library of Congress) (original) (raw)

Extended Date Time Format

Official Web Site

February 4, 2019

Introduction

The Extended Date/Time Format (EDTF) was created by the Library of Congress with the participation and support of the bibliographic community as well as communities with related interests. It defines features to be supported in a date/time string, features considered useful for a wide variety of applications.

See Background. Note, in particular, a draft specification was issued in 2012. The full functionality of the draft specification is retained in this specification, however several syntactic changes were necessary, to satisfy international requirements.


Differences

This specification differs from the earlier draft as follows:


Compliance

Three conformance levels are defined: level 0, level 1, and level 2. Level 0 specifies features of ISO 8601-1; Levels 1 and 2 specify features described ISO 8601-2.

An implementation must support all of the features listed for Level 0. The vendor must state one of the following levels of support:

Two communication parties that agree to operate according to this specification must suppress, during their communication, any features of ISO 8601-1 that are not included in level 0.


Extended format

EDTF requires “extended format” as defined in 8601: hyphen between calendar components and colon between clock components (e.g. 2005-09-24T10:00:00_)._ “Basic format" as defined in ISO 8601, which omits separators (e.g. 20050924T100000), is not permitted.


Level 0

Level 0 requires support for the following features.

Date

Date and Time

Time Interval

EDTF Level 0 adopts representations of a time interval where both the start and end are dates: start and end date only; that is, both start and duration, and duration and end, are excluded. Time of day is excluded.


Level 1

Level 1 of this specification requires support for Level 0 as well as the following features:

Letter-prefixed calendar year

'Y' may be used at the beginning of the date string to signify that the date is a year, when (and only when) the year exceeds four digits, i.e. for years later than 9999 or earlier than -9999.

Note: an error in example 2 was corrected 2/4/2018. Changed from '-Y170000002' to 'Y-170000002'

Seasons

The values 21, 22, 23, 24 may be used used to signify ' Spring', 'Summer', 'Autumn', 'Winter', respectively, in place of a month value (01 through 12) for a year-and-month format string.

Qualification of a date (complete)

The characters '?', '~' and '%' are used to mean "uncertain", "approximate", and "uncertain" as well as "approximate", respectively. These characters may occur only at the end of the date string and apply to the entire date.

Unspecified digit(s) from the right

The character 'X' may be used in place of one or more rightmost digits to indicate that the value of that digit is unspecified, for the following cases:

  1. A year with one or two (rightmost) unspecified digits in a year-only expression (year precision)
    Example 1 ‘201X’
    Example 2 ‘20XX’
  2. Year specified, month unspecified in a year-month expression (month precision)
    Example 3 ‘2004-XX’
  3. Year and month specified, day unspecified in a year-month-day expression (day precision)
    Example 4 ‘1985-04-XX’
  4. Year specified, day and month unspecified in a year-month-day expression (day precision)
    Example 5 ‘1985-XX-XX’

Extended Interval (L1)

  1. A null string may be used for the start or end date when it is unknown.
  2. Double-dot (“..”) may be used when either the start or end date is not specified, either because there is none or for any other reason.
  3. A modifier may appear at the end of the date to indicate "uncertain" and/or "approximate"

Open end time interval

Open start time interval

Time interval with unknown end

Time interval with unknown start

Negative calendar year

Note: ISO 8601 Part 1 does not support negative year.


Level 2

Level 2 requires support for Level 1 as well as the following features:

Exponential year

'Y' at the beginning of the string (which indicates "year", as in level 1) may be followed by an integer, followed by 'E' followed by a positive integer. This signifies "times 10 to the power of". Thus 17E8 means "17 times 10 to the eighth power".

Significant digits

A year (expressed in any of the three allowable forms: four-digit, 'Y' prefix, or exponential) may be followed by 'S', followed by a positive integer indicating the number of significant digits.

Sub-year groupings

Level 2 extends the season feature of Level 1 to include the following sub-year groupings.

21 Spring (independent of location)
22 Summer (independent of location)
23 Autumn (independent of location)
24 Winter (independent of location)
25 Spring - Northern Hemisphere
26 Summer - Northern Hemisphere
27 Autumn - Northern Hemisphere
28 Winter - Northern Hemisphere
29 Spring - Southern Hemisphere
30 Summer - Southern Hemisphere
31 Autumn - Southern Hemisphere
32 Winter - Southern Hemisphere
33 Quarter 1 (3 months in duration)
34 Quarter 2 (3 months in duration)
35 Quarter 3 (3 months in duration)
36 Quarter 4 (3 months in duration)
37 Quadrimester 1 (4 months in duration)
38 Quadrimester 2 (4 months in duration)
39 Quadrimester 3 (4 months in duration)
40 Semestral 1 (6 months in duration)
41 Semestral 2 (6 months in duration)

Set representation

  1. Square brackets wrap a single-choice list (select one member).
  2. Curly brackets wrap an inclusive list (all members included).
  3. Members of the set are separated by commas.
  4. No spaces are allowed, anywhere within the expression.
  5. Double-dots indicates all the values between the two values it separates, inclusive.
  6. Double-dot at the beginning or end of the list means "on or before" or "on or after" respectively.
  7. Elements immediately preceeding and/or following as well as the elements represented by a double-dot, all have the same precision. Otherwise, different elements may have different precisions

One of a set

All Members

Note: error in example 9 fixed August 6, 2019. Square changed to curly brackets.

Qualification

Group Qualification

A qualification character to the immediate right of a component applies to that component as well as to all components to the left.

Qualification of Individual Component

A qualification character to the immediate left of a component applies to that component only.

Unspecified Digit

For level 2 the unspecified digit, 'X', may occur anywhere within a component.

Interval

For Level 2 portions of a date within an interval may be designated as approximate, uncertain, or unspecified.


Acknowledgements

Acknowledgements have been moved to the 2012 draft.

This site is maintained in the Network Development and MARC Standards Office of the Library of Congress.