<docDate>

<docDate> (document date) contains the date of a document, as given on a title page or in a dateline. [4.6. Title Pages]
Module textstructure
Attributes Attributes att.global (xml:id, n, xml:lang) (lim.att.global.fragmentable (part)) (att.global.rendition (rendition)) (att.global.source (source))
when (when) gives the value of the date in standard form, i.e. YYYY-MM-DD.
Status Optional
Datatype teidata.temporal.w3c
Note
For simple dates, the when attribute should give the Gregorian or proleptic Gregorian date in one of the formats specified in XML Schema Part 2: Datatypes Second Edition.
Member of
Contained by
core: lg list
figures: figure table
msdescription: msItem
May contain
Note
Cf. the general date element in the core tag set. This specialized element is provided for convenience in marking and processing the date of the documents, since it is likely to require specialized handling for many applications. It should be used only for the date of the entire document, not for any subset or part of it.
Examples

<docImprint>Oxford, Clarendon Press, <docDate>1987</docDate>
</docImprint>
Source Github

<elementSpec module="textstructure" ident="docDate">
   
<gloss>document date</gloss>
   
<desc>contains the date of a document, as given
on a title page or in a dateline.
</desc>
   
<classes>
      
<memberOf key="att.global"/>
      
<memberOf key="model.titlepagePart"/>
      
<memberOf key="model.divWrapper"/>
      
<memberOf key="model.pLike.front"/>
   
</classes>
   
<content>
      
<macroRef key="macro.phraseSeq"/>
   
</content>
   
<attList>
      
<attDef ident="when" usage="opt">
         
<gloss>when</gloss>
         
<desc>gives the value of the date in standard form, i.e. YYYY-MM-DD.</desc>
         
<datatype>
            
<dataRef key="teidata.temporal.w3c"/>
         
</datatype>
      
</attDef>
   
</attList>
</elementSpec>