C_Calendar.GetMaxCreateDate

From Warcraft Wiki
Jump to navigation Jump to search

Returns the last day supported by the Calendar API.

maxCreateDate = C_Calendar.GetMaxCreateDate()

Returns

maxCreateDate
structure - CalendarTime
CalendarTime
Field Type Description
year number The current year (e.g. 2019)
month number The current month [1-12]
monthDay number The current day of the month [1-31]
weekday number The current day of the week (1=Sunday, 2=Monday, ..., 7=Saturday)
hour number The current time in hours [0-23]
minute number The current time in minutes [0-59]

Details

  • As of the 21st of March 2019, the date returned by this function on EU realms is Tuesday the 31th of March, 2020.

Patch changes

Battle for Azeroth Patch 8.0.1 (2018-07-17): Added.