Open main menu
Home
Random
Log in
Settings
About AddOn Studio
Disclaimers
AddOn Studio
Search
Editing
WoW:API CalendarGetMonth
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
{{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. <!-- List return values and arguments as well as function name, follow Blizzard usage convention for args --> month, year, numdays, firstday = CalendarGetMonth( [offsetMonth] ); == Arguments == <!-- List each argument, together with its type --> :(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 == <!-- List each return value, together with its type --> :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)
Summary:
Please note that all contributions to AddOn Studio are considered to be released under the Creative Commons Attribution-NonCommercial-ShareAlike (see
AddOn Studio Wiki:Copyrights
for details).
Submissions must be written by you, or copied from a public domain or similar free resource (see
AddOn Studio Wiki:Copyrights
for details).
Cancel
Editing help
(opens in new window)
Templates used on this page:
Template:Apinav
(
edit
)
Template:Editlink
(
edit
)
Template:Tocright
(
edit
)
Template:Wowapi
(
edit
)