| ## Text Encoding Initiative
### The XML Version of the TEI Guidelines # <date>

`<date>` | contains a date in any format.
Attributes | (In addition to global attributes and those inherited from data, date, terminologyInclusions)
`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
| Example:
    He was born on
    <date calendar="Gregorian">Feb. 22, 1732</date>
    (<date calendar="Julian" value="1732-02-22">
      Feb. 11, 1731/32, O.S.</date>).
`value` | gives the value of the date in some standard form, usually yyyy-mm-dd.
| Datatype: CDATA
| Values: Any string representing a date in standard format; recommended form is ISO 8601:2000 5.2.1.1 Complete representation, extended format (yyyy-mm-dd)
| Default: #IMPLIED
| Example:
    This list begins in the year 1632, more precisely
    on Trinity Sunday, i.e. the Sunday after Pentecost,
    in that year the <date calendar="Julian" value="1632-06-06">27th
    of May (old style)</date>.
Note | For simple dates, the `value` should give the Gregorian or proleptic Gregorian date in the form (yyyy-mm-dd) specified by ISO 8601. More complicated dates or special applications may require another calendar or another form; these should be documented in the `<stdVals>` element in the TEI Header.
`certainty` | indicates the degree of precision to be attributed to the date.
| Datatype: CDATA
| Values: Any appropriate value, e.g. ca., approx, after, before.
| Default: #IMPLIED

Example

    <date value="1980-02" certainty="approx">early February 1980</date>

Example

    Given on the <date value="1977-06-12">Twelfth Day of June
    in the Year of Our Lord One Thousand Nine Hundred and
    Seventy-seven of the Republic the Two Hundredth and first
    and of the University the Eighty-Sixth.</date>

Example

    <date value="1990-09">September 1990</date>

Module Declared in file teicore2; Core tag sets: enabled when any TEI base is enabled
Class data; date; terminologyInclusions
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 change channel cl classCode closer colloc constitution corr country creation damage date dateRange dateline 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 imprint 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 publicationStmt publisher purpose q quote rdg re recording ref reg region rendition residence resp restore role roleDesc roleName rs s salute seg sense setting settlement sic signed soCalled socecStatus sound speaker sponsor stage street stress subc supplied surname syll symbol tagUsage tech term termEntry tig time timeRange title titlePart tns tr trailer trans u unclear usg view wit witDetail witness writing xr xref
Declaration

    <!ELEMENT date %om.RR;  %phrase.seq;>
    <!ATTLIST date
          %a.global;
          calendar CDATA #IMPLIED
          value CDATA #IMPLIED
          certainty CDATA #IMPLIED>

See further 6.4.4 Dates and Times; 5.2.4 Publication, Distribution, etc.; 5.5 The Revision Description; 6.10.2.3 Imprint, Pagination, and Other Details; 13.2 Tags for Terminological Data; 23.2.3 The Setting Description; 20.4 Dates and Time

Up: 35 Elements