Returns information about a calendar month
See also Calendar functions.
Signature:
month,
year,
numDays,
firstWeekday
=
CalendarGetMonth([monthOffset])
Arguments:
monthOffset
- Month to query relative to the calendar's currently displayed month (i.e. 0 for current month, 1 for next month, -1 for previous month). Defaults to the calendar's current month if omitted. (number
)
Returns:
month
- Index of the month (starting at 1 = January) (number
)year
- Year (full four-digit year) (number
)numDays
- Number of days in the month (number
)firstWeekday
- Index of the weekday (starting at 1 = Sunday) for the first day of the month (number
)