WoW API: CalendarGetDate

Revision as of 15:55, 29 July 2008 by WoWWiki>Innomin8 (New page: {{wowapi}} __NOTOC__ Get the current date from the Calendar API weekday, month, day, year = CalendarGetDate(); == Parameters == <big>'''Returns'''</big> :;int - weekday :* The current ...)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

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. 0=Sunday, 1=Monday, ...
month - Number
  • The current month (1-12)
day - Number
  • The current day of the month (1-31)
year - Number
  • The current year