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="weeksinmonth"><a name="WeeksInMonth"></a>WeeksInMonth</h1>
<p>Returns the number of weeks in the specified month. Will be 4 or 5. If the year and month are omitted, the values of this <strong>CPowerTime</strong> object are assumed.</p>
<pre><code>FUNCTION WeeksInMonth (BYVAL nMonth AS LONG = 0, BYVAL nYear