. If the year is omitted, the year of this <strong>CPowertime</strong> object is assumed.</p>
<pre><code>FUNCTION WeeksInYear (BYVAL nYear AS LONG = 0) AS LONG
</code></pre>
<table>
<thead>
<tr class="header">
<th>Parameter</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr class="odd">
<td><em>nYear</em></td>
<td>A four digit year.</td>
</tr>
</tbody>
</table>
<h1 id="year"><a name="Year"></a>Year</h1>
<p>Returns the Year component of the <strong>CPowerTime</strong> object.</p>
<pre><code>FUNCTION Year (