Question: how to change date format to yyyy-mm-dd in jquery?
Answer: The Jquery code to set and get the date picker fields is : $("#from-datepicker"). datepicker({ dateFormat: 'yy-mm-dd'}); $("#from-datepicker").