I have date in yyyy-mm-dd format. It is found to be ISO Date format. I need to convert it to Long Date format.
eg: I have date as \'2015-07-15\'. The converted date for
var months = ['January', 'February', 'March', 'April', 'May', 'June', 'July', 'August', 'September', 'October', 'November', 'December'];
var current_date = new Date("2015-07-15");
month_value = current_date.getMonth();
day_value = current_date.getDate();
year_value = current_date.getFullYear();
document.write("Converted date is : " +
day_value +" "+ months[month_value] + " " + year_value);
Check discussion and many other solution here : Get month name from Date