Returns the latest date for which events may be scheduled. Currently, events can only be created up to one year from the last day of the current month (e.g. If the current date is May 19, 2009, the player is not allowed to create events scheduled for later than May 31, 2010). The default Calendar UI also does not allow viewing months beyond this date.


See also Calendar functions.

Signature:

weekday, month, day, year = CalendarGetMaxCreateDate()

Returns:

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