WoW API: CalendarGetMonth

From AddOn Studio
Revision as of 16:03, 29 July 2008 by WoWWiki>Innomin8 (New page: {{wowapi}} __NOTOC__ <!-- Describe the purpose of the function, exhausting detail can be saved for a later section --> Retrieve the month and year for the given offset of months. <!-- Lis...)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

WoW API < CalendarGetMonth

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

month, year, numdays = CalendarGetMonth( offsetMonth );


Arguments

(offsetMonth)
offsetMonth
Number - The number of months to offset from the current month.


Returns

month, year, numdays
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)