Ohklus@legacy41562383 (talk | contribs) (Factual correction) |
Ohklus@legacy41562383 (talk | contribs) (added my name to last Factual correction) |
||
Line 8: | Line 8: | ||
:;weekday - Number |
:;weekday - Number |
||
− | :* The current day of the week. 0=Sunday, 1=Monday, ... (Sunday seems to be 1, not 0) |
+ | :* The current day of the week. 0=Sunday, 1=Monday, ... (Ohklus: Sunday seems to be 1, not 0) |
:;month - Number |
:;month - Number |
Revision as of 15:32, 26 October 2008
Automated updating of API pages at this location, to reflect patch changes, has ceased from 10.1.7 onwards. |
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, ... (Ohklus: Sunday seems to be 1, not 0)
- month - Number
- The current month (1-12)
- day - Number
- The current day of the month (1-31)
- year - Number
- The current year