Purpose:
Returns the week number of a given date.
The optional second parameter determines the setting for the first week of the year.
0 |
Week with the first working day |
1 |
Week of January, 1 |
2 |
First week with at least 4 days |
3 |
First week with 7 days |
4 |
Week with the first Monday |
Parameter:
Date
Number (optional)
Return value:
Number