Algosim documentation: DaysInMonth

DaysInMonth

Returns the number of days in a given month.

Syntax

Description

If y is a year and m a month (1–12), then DaysInMonth(y, m) returns the number of days in month m in the year of y.

Examples

DaysInMonth(1952, 2)
29