Skip to content

MONTHDAYS ​

Returns the number of days in the provided month

js
MONTHDAYS(year_number, month_number)

Parameters ​

  • year_number - The year.
  • month_number - The month (1-12).

Examples ​

js
MONTHDAYS(2021, 12)

Result: 31