ble>
<h1 id="newtime"><a name="NewTime"></a>NewTime</h1>
<p>Sets a new time to this <strong>CPowerTime</strong> object.</p>
<p>The time component of the <strong>CPowerTime</strong> object is assigned a new value based upon the specified parameters. The date component is unchanged. If parameters are invalid, <strong>GetLastError</strong> will return ERROR_INVALID_PARAMETER.</p>
<pre><code>SUB NewTime (BYVAL nHour AS LONG = 0, BYVAL nMinute AS LONG = 0, _
    BYVAL nSecond AS LONG = 0, BYVAL nMSecond AS LONG 