How to format date value before setting to a date picker input field?
<p>Using JQuery, I created a simple date text field with <code>dateFormat: "mmddyy"</code>. There is no problem in the way it works. But the corresponding database field is of type DATE and stores the value in "YYYY-MM-DD" format. So, when I read the value from database and set it to the date text field, the date format appears to be "YYYY-MM-DD", but not "mmddyy". So, how can we format that database date value in JQuery before setting it to the date field ? </p>

<p>Thanks!</p>
