I am displaying a date which takes the following format;
Sun Feb 24 2013 00:00:00 GMT-0800 (Pacific Standard Time)
All what i want is Sunday February 24 2013
. How could i format the above date to the format i want ?
var date = $(this).datepicker('getDate');
theDay = new Date(date.getFullYear(), date.getMonth(), date.getDate());