Hello Reader's! On a date given like (03/25/2014) if you want to get the month name from it then by using JS you can do this as follow:-
var objDate = new Date("12/12/2009"),
locale = "en-us",
month = objDate.toLocaleString(locale, { month: "long" });
console.log(month); //it will print December in your console
To print back in page return this function
0 Comment(s)