I am using the UI DatePicker from jQuery UI as the stand alone picker. I have this code:
And the
you should use data-date-format="yyyy-mm-dd" in your input field html and initial data picker in JQuery just like simple
data-date-format="yyyy-mm-dd"
$("#issue_date").datepicker({ dateFormat: "yy-mm-dd", changeMonth: true, changeYear: true });