Text Encoding Initiative

The XML Version of the TEI Guidelines

<timeRange>


<timeRange> (time range) contains two times or another phrase indicating a time period.
Attributes (In addition to global attributes and those inherited from data)
from indicates the starting point of the time period in a standard form, usually hh:mm.
Datatype: CDATA
Values: a string representing a time in standard format; recommended forms are the extended formats from ISO 8601.
Default: #IMPLIED
Note

If the format of the value is not one from ISO 8601, then its format should be declared in the <stdVals> element in the TEI header.

to indicates the ending point of the time period in standard form, usually hh:mm.
Datatype: CDATA
Values: a string representing a time in standard format; recommended forms are the extended formats from ISO 8601.
Default: #IMPLIED
Note

If the format of the value is not one from ISO 8601, then its format should be declared in the <stdVals> element in the TEI header.

exact indicates the precision to be attached to either or both times specified.
Datatype: (to|from|both|none)
Legal values are:
to the to time is exact
from the from time is exact
both both times are exact
none both times are approximate or unspecified
Default: #IMPLIED
Example:
<timeRange from="16:00" to="16:20" exact="from">
		Just after teatime</timeRange>
Note

unless they confrom to ISO 8601, time values should conform to the standard form declared in the <stdVals> element in the TEI header.

Example

  
Module Declared in file teicore2; Core tag sets: enabled when any TEI base is enabled
Class data
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 timeRange %om.RR;  %phrase.seq;> 
<!ATTLIST timeRange  
      %a.global;
      from CDATA #IMPLIED
      to CDATA #IMPLIED
      exact (to|from|both|none) #IMPLIED>
See further 6.4.4 Dates and Times

Up: 35 Elements