onth AS WORD, BYVAL nDay AS WORD)
</code></pre>
<table>
<thead>
<tr class="header">
<th>Parameter</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr class="odd">
<td><em>nYear / nMonth / nDay</em></td>
<td>Indicates the date values to be copied into the <strong>COleDateTime</strong> object.</td>
</tr>
</tbody>
</table>
<h1 id="setdatetime-(coledatetime)"><a name="SetDateTime"></a>SetDateTime (COleDateTime)</h1>
<p>Sets the date and time of this <strong>COleDateTime</strong> object.</p>
<pre><code>FUNCTION