Wikia

WoWWiki

API CalendarGetMonth

Talk1
101,354pages on
this wiki
Revision as of 04:11, September 17, 2008 by Mmayers (Talk | contribs)

(diff) ←Older revision | Latest revision (diff) | Newer revision → (diff)
WoW API < CalendarGetMonth

Retrieve the month and year for the given offset of months.

month, year, numdays, firstday = CalendarGetMonth( [offsetMonth] );


Arguments Edit

(offsetMonth)
offsetMonth (optional) 
Number - The number of months to offset from the current month. If excluded, the function returns data for the current month.


Returns Edit

month, year, numdays, firstday
month 
Number - The month in integer format (1-12)
year 
Number - The year at the offset date
numdays 
Number - The number of days in the month (28-31)
firstday 
Number - The weekday on which the month begins (1 = Sunday, 2 = Monday, ..., 7 = Saturday)

Around Wikia's network

Random Wiki