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…

[sourcecode type=”js”]
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.