<p>The <b>WEEKNUM</b> function is one of the date and time functions. It used to return the number of the week the specified date falls within the year.</p>
<pstyle="text-indent: 50px;"><b><em>serial_number</em></b> is a number representing the date within the week, entered using the <ahref="Date.htm"onclick="onhyperlinkclick(this)">Date</a> function or other date and time function.</p>
<pstyle="text-indent: 50px;"><b><em>return_type</em></b> is a numeric value used to determine on which day the week begins. It can be one of the following:</p>
<p>When <b><em>return_type</em></b> is set to 1-17, <b>System 1</b> is used. This means that the first week in a year is the week that contains January 1.</p>
<p>When <b><em>return_type</em></b> is set to 21, <b>System 2</b> is used. This means that the first week in a year is the week that contains the first Thursday of the year. System 2 is commonly used in Europe according to the ISO 8601 standard.</p>