I am using Jquery date picker, problem i am facing now is that the date format on the database is dd/MM/YYYY , while the date format for the date picker it is MM/dd/YYYY, so how i can manage to change the calender date format to be consistent with the databse? i tried this but it did not work:-
$(":input[data-datepicker]").datepicker();
$("this").datepicker({ dateFormat: 'dd-mm-yy' });