I want to get the name of the Day when choosing date from jquery ui calender.
for example, when choosing 14-3-2012 it should returns Wednesday.
$(\"i
There are various formats from which you can display the dates.
Check this for all the date formats compatible with the calendar.
In your case dateFormat: 'DD' displays the WeekDays.
$("input[name=date]").datepicker({
dateFormat: 'DD',
changeYear:true,
changeMonth:true,
onSelect: function(dateText, inst) {
alert(dateText); // alerts the day name
}
});