Syntax
DaysInMonth
Description
The number of days in the current month (as specified in the General, Years and Time Steps screen). Does not work if the timestep is weekly, because some weeks will span two months.
Example
DaysInMonth
Evaluated in January 2000 = 31
Evaluated in February 2000 = 28 (if leap days are turned off)
Evaluated in February 2000 = 29 (if leap days are turned on)
Evaluated in February 2001 = 28 (regardless if leap days are turned on
or off)
See Also
DaysInYear, DaysBefore, JulianDaysBefore, TotalDaysBefore, Seconds, Minutes, Hours, Month, TS, Year, Timesteps, PrevYear, BaseYear, CAY, CurrentAccountsYear, EndYear