Calendar
DaysInMonth
compute the number of days in a given month
Calling Sequence
Parameters
Description
Examples
Compatibility
DaysInMonth( year, month )
year
-
integer; the year in which the month occurs
month
integer; the numeric value (1..12) of the month
The DaysInMonth( year, month ) command computes the number of days in the month month of the year year. It is necessary to specify the year in order to take account of leap years.
The Calendar[DaysInMonth] command was introduced in Maple 2018.
For more information on Maple 2018 changes, see Updates in Maple 2018.
See Also
Calendar[DaysInYear]
Download Help Document