How can I generate the name of the month (e.g: Oct/October) from this date object in JavaScript?
var objDate = new Date(\"10/11/2009\");
Tested on IE 11, Chrome, Firefox
const dt = new Date(); const locale = navigator.languages != undefined ? navigator.languages[0] : navigator.language; const fullMonth = dt.toLocaleDateString(locale, {month: 'long'}); console.log(fullMonth);