1var months = ["January", "February", "March", "April", "May", "June", "July", "August", "September", "October", "November", "December"];
2var d = new Date();
3var monthName=months[d.getMonth()]; // "July" (or current month)
4
1var Xmas95 = new Date();
2var options = { month: 'long'};
3console.log(new Intl.DateTimeFormat('en-US', options).format(Xmas95));
4// December
5console.log(new Intl.DateTimeFormat('de-DE', options).format(Xmas95));
6// Dezember
7