JavaScript GetMonth
new Date().getMonth(); //note that Jan=0, Dec=11 (annoying I know)
Grepper
new Date().getMonth(); //note that Jan=0, Dec=11 (annoying I know)
var Xmas95 = new Date();
var options = { month: 'long'};
console.log(new Intl.DateTimeFormat('en-US', options).format(Xmas95));
// December
console.log(new Intl.DateTimeFormat('de-DE', options).format(Xmas95));
// Dezember
new Date().getMonth();
const d = new Date();
d.getMonth();
const d = new Date();
let month = d.getMonth(); // 5
const month = ["January","February","March","April","May","June","July","August","September","October","November","December"];
const d = new Date();
let name = month[d.getMonth()]; // June