How to change date time format using Jquery DatePicker

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…

var date = $('#datepicker').datepicker({ dateFormat: 'dd-mm-yy' });

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: