I have some problems to get the correct date format.
After my date field has lost focus, I want it to display as follows:
dd-mm-yyyy, but it must be stored in a database, for example
yyyy-mm-dd ..
This is what I still have:
$("#birthdate").datepicker({ changeMonth: true, changeYear: true, altFormat: 'yyyy-mm-dd' });
Now it is shown in the date field as 11/25/2009 (November 25 09) and posted as 11/25/2009
any idea?
source share