Answer the question
In order to leave comments, you need to log in
How to get object or array with months?
The most obvious option is to take and register everything manually:
var months = {
01: "January",
02: "February",
03: "March",
04: "April",
05: "May",
06: "June",
07: "July",
08: "August",
09: "September",
10: "October",
11: "November",
12: "December"
}
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question