## Text Encoding Initiative

### The XML Version of the TEI Guidelines

# <time>

`<time>` | contains a phrase defining a time of day in any format.

Attributes

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

`value` | gives the value of the time in some standard form, usually hh:mm.
| Datatype: CDATA
| Values: Any string representing a time in standard format; recommended forms are the extended formats from ISO 8601:2000 (hh:mm, hh:mmZ, hh:mm±hh)
| Default: #IMPLIED

Example:

    <time value="16:00">four o' clock</time>

Note | If the normalized form of time is not given using an ISO 8601 format, this fact should be documented in the `<stdVals>` element in the TEI Header.

`type` | indicates something about the type of temporal expression being tagged.
| Datatype: (am | pm | 24hour | descriptive)

Legal values are:

am | indicates a temporal expression made on the basis of a twelve-hour clock and referring to a time between midnight and noon.
pm | indicates a temporal expression made on the basis of a twelve-hour clock and referring to a time between noon and midnight.
24hour | indicates a temporal expression made on the basis of a twenty-four-hour clock.
descriptive | indicates a temporal expression made in descriptive terms, e.g. noon.

| Default: #IMPLIED
`zone` | indicates time zone or place name wherever this is necessary to evaluate a temporal expression.
| Datatype: CDATA
| Values: contains a word or phrase such as ‘GMT’ or ‘Eastern Standard Time’ which might be helpful in evaluating the temporal expression.
| Default: #IMPLIED

Example

    As he sat smiling, the quarter struck &mdash;
    	  <time value="11:45">the quarter to twelve</time>.

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 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 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 setting 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 time %om.RR;  %phrase.seq;>
    <!ATTLIST time
          %a.global;
          value CDATA #IMPLIED
          type (am | pm | 24hour | descriptive) #IMPLIED
          zone CDATA #IMPLIED>

See further 6.4.4 Dates and Times

Up: 35 Elements