In the datePicker selected 20.04.2012. I want to get this value, format it and store in a variable. I uses this code:
20.04.2012
var date = $(\"#scheduleDate\"
var dateObject = $("#datePickerInput").datepicker('getDate'); $.datepicker.formatDate('dd MM, yy', dateObject);