## Text Encoding Initiative

### The XML Version of the TEI Guidelines

# <dateRange>

`<dateRange>` | (date range) contains two dates or another phrase delimiting a time period.

Attributes

(In addition to global attributes and those inherited from data, date)

`calendar` | indicates the system or calendar to which the date belongs.
| Datatype: CDATA
| Values: Recommended values include: Gregorian, Julian, Roman, Mosaic, Revolutionary, Islamic.
| Default: #IMPLIED

`from` | indicates the starting point of the period in standard form.
| Datatype: CDATA
| Values: any date in a standard form; recommended form is yyyy-mm-dd.
| Default: #IMPLIED
Note | The value should conform to the standard form declared in the `<stdVals>` element in the TEI header.
`to` | indicates the ending point of the period in standard form.
| Datatype: CDATA
| Values: any date in a standard form; recommended form is yyyy-mm-dd.
| Default: #IMPLIED
Note | The value should conform to the standard form declared in the `<stdVals>` element in the TEI header.
`exact` | indicates the precision to be attached to either or both dates specified.
| Datatype: (to|from|both|none)

Legal values are:

to | the to date is exact
from | the from date is exact
both | both dates are exact
none | both dates are approximate or unspecified

| Default: #IMPLIED

Example:

    <dateRange from="1100" to="1120" exact="from">
          Early 12th century</dateRange>

Note | date values should conform to the standard form declared in the `<stdVals>` element in the TEI header.

Example

    He edited (<dateRange from="1846" to="1848">1846&ndash;48</dateRange>)
    the first collection of Hungarian folk poetry.

Module Declared in file teicore2; Core tag sets: enabled when any TEI base is enabled
Class data; date
Data Description May contain character data and phrase-level elements.
May contain #PCDATA abbr add addSpan address alt altGrp anchor app c caesura cb certainty cl corr damage date dateRange dateStruct del delSpan distinct emph expan fLib foreign formula fs fsLib fvLib fw gap geogName gloss handShift hi index interp interpGrp join joinGrp lang lb link linkGrp m measure mentioned milestone name num oRef oVar orgName orig pRef pVar pb persName phr placeName ptr ref reg respons restore rs s seg sic soCalled space span spanGrp supplied term time timeRange timeStruct timeline title unclear w xptr xref
May occur within ab abbr activity actor add addName addrLine admin affiliation author authority bibl biblScope birth bloc byline camera caption case castItem catDesc cell channel cl classCode closer colloc constitution corr country creation damage date dateRange def del derivation descrip dictScrap distance distinct distributor docAuthor docDate docEdition docImprint domain edition editor education emph entryFree etym expan extent factuality figDesc firstLang foreName foreign form funder fw gen genName gloss gram gramGrp head headItem headLabel hi hyph imprimatur interaction item itype l label lang langKnown language lbl lem locale measure meeting mentioned mood name nameLink note num number occasion occupation opener orgDivn orgName orgTitle orgType orig orth otherForm p per persName phr placeName pos preparedness principal pron pubPlace publisher purpose q quote rdg re ref reg region rendition residence resp restore role roleDesc roleName rs s salute seg sense settlement sic signed soCalled socecStatus sound speaker sponsor stage street stress subc supplied surname syll symbol tagUsage tech term time timeRange title titlePart tns tr trailer trans u unclear usg view wit witDetail witness writing xr xref
Declaration

    <!ELEMENT dateRange %om.RO;  %phrase.seq;>
    <!ATTLIST dateRange
          %a.global;
          calendar CDATA #IMPLIED
          from CDATA #IMPLIED
          to CDATA #IMPLIED
          exact (to|from|both|none) #IMPLIED>

See further 6.4.4 Dates and Times

Up: 35 Elements