daysinmonth() Function

Returns the number of days in the given month in the given year.

Syntax

daysinmonth( month, year )

month: (Integer) The month number.

year: (Integer) The year number.

Returns

Integer

Examples

You can experiment with this function in the test box below.

Test Input

daysinmonth(2, 2000) returns 29

FEEDBACK