$("your-id-name-here").datepicker({
dateFormat: 'dd-mm-yy'
});
//Bootstrap datepicker change date format solution , Jquery datepicker is under this solution
If by ID: just change "#datepicker" to your input field id
$('#datepicker').datepicker({
format: 'dd/mm/yyyy'
});
If by Class: just change "#datepicker" to your input field class
$('.datepicker').datepicker({
format: 'dd/mm/yyyy'
});
//jquery datepicker change date format solution
just change "#datepicker" to your input field id
$("#datepicker").datepicker({
dateFormat: 'dd-mm-yy'
});