Returns information about a calendar month

See also Calendar functions.


month, year, numDays, firstWeekday = CalendarGetMonth([monthOffset])


  • 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)


  • 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)