WoW API: CalendarGetDate

From AddOn Studio
Revision as of 04:45, 15 August 2023 by Move page script (talk | contribs) (Move page script moved page API CalendarGetDate to API CalendarGetDate without leaving a redirect)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

WoW API < CalendarGetDate

Get the current date from the Calendar API

weekday, month, day, year = CalendarGetDate();

Returns

weekday, month, day, year
weekday - Number
  • The current day of the week. 1=Sunday, 2=Monday, ...
month - Number
  • The current month (1-12)
day - Number
  • The current day of the month (1-31)
year - Number
  • The current year