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

Open in Github Built: Fri, Mar 11, 2022 (04:59:07 PM)

On This Page

FEEDBACK