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\");
My Best Solution is as follow:
var dateValue = Date(); var month = dateValue.substring(4,7); var date = dateValue.substring(8,10); var year = dateValue.substring(20,24); var finaldateString = date+"-"+month+"-"+year;