<html><head> <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"> <title>date</title><link rel="stylesheet" href="manual.css" type="text/css"><meta name="generator" content="DocBook XSL Stylesheets V1.57.0"><link rel="home" href="index.html" title="XML Résumé Library User Guide"><link rel="up" href="elementref.html" title="Element Reference"><link rel="previous" href="element.county.html" title="county"><link rel="next" href="element.dayOfMonth.html" title="dayOfMonth"></head><body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><h1 class="pageTitle"><a href="../../index.html"><span style="color: red;">XML</span><span style="font-weight: bold;">Résumé</span><span style="color: red;">Library</span></a>: <a href="index.html">User Guide</a></h1><div class="navheader"><table width="100%" summary="Navigation header"><tr><td align="left" width="33%"><a accesskey="p" href="element.county.html"><img src="caret-l.gif" width="11" height="7" border="0" alt="Previous">county</a> </td><td align="center" width="34%"><a accesskey="u" href="elementref.html"><img src="caret-u.gif" width="11" height="7" border="0" alt="Up">Element Reference</a></td><td align="right" width="33%"> <a accesskey="n" href="element.dayOfMonth.html">dayOfMonth<img src="caret-r.gif" width="11" height="7" border="0" alt="Next"></a></td></tr></table></div><div class="refentry" lang="en"><a name="element.date"></a><div class="titlepage"></div><div class="refnamediv"><h2>Name</h2><p>date — A specific instant in time</p></div><div class="refsynopsisdiv"><h2>Synopsis</h2><div class="refsect2" lang="en"><h3>Content Model</h3><pre class="synopsis">(((<a href="element.dayOfMonth.html" title="dayOfMonth">dayOfMonth</a>)?,<a href="element.month.html" title="month">month</a>)?,<a href="element.year.html" title="year">year</a>)</pre></div><div class="refsect2" lang="en"><h3>Attributes</h3><div class="informaltable"><table width="100%" border="1"><colgroup><col align="left"><col align="left"><col align="left"></colgroup><thead><tr valign="top"><th align="left" valign="top">Name</th><th align="left" valign="top">Type</th><th align="left" valign="top">Default</th></tr></thead><tbody><tr valign="top"><td align="left" valign="top">targets</td><td align="left" valign="top">CDATA</td><td align="left" valign="top"><span class="emphasis"><em>None</em></span></td></tr></tbody></table></div></div></div><div class="refsect1" lang="en"><h2>Description</h2><p> The <tt class="sgmltag-element">date</tt> element represents a specific instant in time, with at least year-level granularity, and at most day-level granularity. </p><p> When contained inside a <a href="element.pub.html" title="pub"><tt class="sgmltag-element">pub</tt></a> element, <tt class="sgmltag-element">date</tt> represents the date that the work was published. </p><p> When contained inside a <a href="element.clearance.html" title="clearance"><tt class="sgmltag-element">clearance</tt></a> element, <tt class="sgmltag-element">date</tt> represents the date that the security clearance was granted. </p><div class="note" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Note</h3><p> The <tt class="sgmltag-element">month</tt> element was made optional in version 1.4.0 of the XML Résumé Library. It was previously required. </p></div><p> To represent a period of time, instead of a specific instant, use <a href="element.period.html" title="period"><tt class="sgmltag-element">period</tt></a>. </p><div class="refsect2" lang="en"><h3>Parents</h3><p> <tt class="sgmltag-element">date</tt> may be contained in these elements: <span class="simplelist"><a href="element.award.html" title="award"><tt class="sgmltag-element">award</tt></a>, <a href="element.birth.html" title="birth"><tt class="sgmltag-element">birth</tt></a>, <a href="element.clearance.html" title="clearance"><tt class="sgmltag-element">clearance</tt></a>, <a href="element.degree.html" title="degree"><tt class="sgmltag-element">degree</tt></a>, <a href="element.from.html" title="from"><tt class="sgmltag-element">from</tt></a>, <a href="element.job.html" title="job"><tt class="sgmltag-element">job</tt></a>, <a href="element.lastModified.html" title="lastModified"><tt class="sgmltag-element">lastModified</tt></a>, <a href="element.membership.html" title="membership"><tt class="sgmltag-element">membership</tt></a>, <a href="element.pub.html" title="pub"><tt class="sgmltag-element">pub</tt></a>, <a href="element.to.html" title="to"><tt class="sgmltag-element">to</tt></a></span> </p></div></div><div class="refsect1" lang="en"><h2>See Also</h2><p> <span class="simplelist"><a href="element.period.html" title="period"><tt class="sgmltag-element">period</tt></a></span>. </p></div><div class="refsect1" lang="en"><h2>Examples</h2><div class="informalexample"><pre class="programlisting"><date> <dayOfMonth>27</dayOfMonth> <month>November</month> <year>1634</year> </date></pre></div><div class="informalexample"><pre class="programlisting"><date> <month>July</month> <year>1457</year> </date></pre></div></div></div><div class="navheader"><table width="100%" summary="Navigation header"><tr><td align="left" width="33%"><a accesskey="p" href="element.county.html"><img src="caret-l.gif" width="11" height="7" border="0" alt="Previous">county</a> </td><td align="center" width="34%"><a accesskey="u" href="elementref.html"><img src="caret-u.gif" width="11" height="7" border="0" alt="Up">Element Reference</a></td><td align="right" width="33%"> <a accesskey="n" href="element.dayOfMonth.html">dayOfMonth<img src="caret-r.gif" width="11" height="7" border="0" alt="Next"></a></td></tr></table></div></body></html>