p>
<pre><code>DIM ct AS COleDateTime
ct = ct.GetCurrentTime()
</code></pre>
<h1 id="getday-(coledatetime)"><a name="GetDay"></a>GetDay (COleDateTime)</h1>
<p>Returns the day represented by this date/time value. Valid return values range between 1 and 31.</p>
<pre><code>FUNCTION GetDay () AS WORD
</code></pre>
<h1 id="getdayofweek-(coledatetime)"><a name="GetDayOfWeek"></a>GetDayOfWeek (COleDateTime)</h1>
<p>Returns the day of the week represented by this date/time value. Valid return values range between 1 