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.
weekday- Index of the day of the week (starting at 1 = Sunday) (
month- Index of the month (starting at 1 = January) (
day- Day of the month (
year- Year (full four-digit year) (