API CalendarGetMonth

104,672pages on
this wiki
Add New Page
Talk1 Share
WoW API < CalendarGetMonth

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

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

Arguments Edit

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

Ad blocker interference detected!

Wikia is a free-to-use site that makes money from advertising. We have a modified experience for viewers using ad blockers

Wikia is not accessible if you’ve made further modifications. Remove the custom ad blocker rule(s) and the page will load as expected.

Also on Fandom

Random Wiki