() AS COleDateTime
</code></pre>
<h1 id="getyear-(coledatetime)"><a name="GetYear"></a>GetYear (COleDateTime)</h1>
<p>Returns the year represented by this date/time value. Valid return values range between 100 and 9999, which includes the century.</p>
<pre><code>FUNCTION GetYear () AS WORD
</code></pre>
<h1 id="setdate-(coledatetime)"><a name="SetDate"></a>SetDate (COleDateTime)</h1>
<p>Sets the date of this <strong>COleDateTime</strong> object.</p>
<pre><code>FUNCTION SetDate (BYVAL nYear AS WORD, BYVAL nM