API CalendarGetAbsMonth

Returns information about the calendar month. month, year, numdays, firstday = CalendarGetMonth( month[, year] )

Arguments

 * month : Number - Month index (1-12 for January-December), values outside the range are coerced into it, without adjusting the year.
 * year : Number - Year (e.g. 2004); if omitted, currently selected year is assumed.

Returns

 * month : Number - Month index (1-12 for January-December)
 * year : Number - Year at the offset date (2004+)
 * numdays : Number - Number of days in the month (28-31)
 * firstday : Number - Weekday on which the month begins (1 = Sunday, 2 = Monday, ..., 7 = Saturday)