daysinmonth() Function

Function

daysinmonth( month, year )

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

Parameters

Keyword Type Description

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, Oct 22, 2021 (11:11:24 AM)

On This Page

FEEDBACK