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\");
Try:
var objDate = new Date("10/11/2009"); var strDate = objDate.toLocaleString("en", { day: "numeric" }) + ' ' + objDate.toLocaleString("en", { month: "long" }) + ' ' + objDate.toLocaleString("en", { year: "numeric"});