I am using the following for date picker control
$(function() {
$("#datepicker").datepicker({
dateFormat : "dd/mm/yy",
onSelect : function(date, picker) {
getCasePackCalendar(date); // call you function here
}
});
});
I want the date format to be like : 29-Jun-12 12:00:00 AM
How to get this in jQuery?
Try this:
Check this fiddle:http://jsfiddle.net/WC38m/7/