Returns the latest date usable in the calendar system. This function currently always returns December 31st, 2030 as the max date.

See also Calendar functions.


weekday, month, day, year = CalendarGetMaxDate()


  • weekday - Index of the day of the week (starting at 1 = Sunday) (number)
  • month - Index of the month (starting at 1 = January) (number)
  • day - Day of the month (number)
  • year - Year (full four-digit year) (number)