DaysInMonth
Returns the number of days in a given month.
Syntax
-
DaysInMonth(y, m)
-
y
(year) is an integer -
m
(month) is an integer
-
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