.GetCurrentTime()
print cft.GetFileTime
</code></pre>
<h1 id="newdate"><a name="NewDate"></a>NewDate</h1>
<p>Sets a new date to this <strong>CPowerTime</strong> object.</p>
<p>The date component of the <strong>CPowerTime</strong> object is assigned a new value based upon the specified parameters. The time component is unchanged. If parameters are invalid, <strong>GetLastError</strong> will return ERROR_INVALID_PARAMETER.</p>
<pre><code>SUB NewDate (BYVAL nYear AS LONG = 0, BYVAL nMonth AS LONG = 0, BYVAL nD