Returns the number of weeks in a specified month of specified year.


MONTHWEEK(year_input, month_input, weekstart)

year_input the 4-digit year to be considered.

month_input the month (in numeric format) to be considered.

weekstart Optional. Default value is 1. Defines the first day of a week. Sunday is represented by a value of 1, and so on. Should be an integer between 1 and 7.