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)
new Date().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