DaysInMonth Function
The DaysInMonth function returns the number of days in the month.
Syntax 1
DaysInMonth()
The DaysInMonth function returns the number of days in the month.
Syntax 2
DaysInMonth(date)
The DaysInMonth function returns the number of days in the month.
Arguments
date
Date - A date.
Remarks
Example:
DaysInMonth("2005-1-28"); // returns 31
Example:
DaysInMonth(); // returns 30