WoW:API CalendarGetDate: Difference between revisions
Jump to navigation
Jump to search
(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 ...) |
m (Move page script moved page API CalendarGetDate to API CalendarGetDate without leaving a redirect) |
||
(2 intermediate revisions by 2 users not shown) | |||
Line 8: | Line 8: | ||
:;weekday - Number | :;weekday - Number | ||
:* The current day of the week. | :* The current day of the week. 1=Sunday, 2=Monday, ... | ||
:;month - Number | :;month - Number |
Latest revision as of 04:45, 15 August 2023
Get the current date from the Calendar API
weekday, month, day, year = CalendarGetDate();
Returns[edit]
- 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