title: Zend Framework - JQuery - Date Picker - Format Date to YYYY-mm-dd
body: <p>Im using a JQuery DatePicker in a Zend Framework based application Form.
  Here is the code for the date picker</p>
  
  <pre><code>$this-&gt;addElement('datePicker','movie_release_date', array(
              'label' =&gt; 'Release Date:',
              'required'=&gt; false
              )
      );
  </code></pre>
  
  <p>By default, when you pick the date, it is stored in the text input like 'mm/dd/yyyy'</p>
  
  <p>But I want to have it like 'yyyy-mm-dd'</p>
  
  <p>I tried many options like dateFormat, format, etc, within the addElement method, but nothing worked!</p>
  
  <p>Please help! Im stuck and couldn't find anything about that on the forums....</p>