The jQuery UI Datepicker is a highly configurable plugin that adds datepicker functionality to your pages.
To change the date format of the DatePicker, see below…
[sourcecode type=”js”]
var date = $(‘#datepicker’).datepicker({ dateFormat: ‘dd-mm-yy’ });
[/sourcecode]
For more options and a detailed read, here are a few links you should consider reading the below links.
http://docs.jquery.com/UI/Datepicker#option-dateFormat
http://docs.jquery.com/UI/Datepicker/formatDate
:baca: