title: Format textbox to display date "dd M yy"
body: <p>I have a textbox with dates out of a database, the dates are in the following format:</p>
  
  <blockquote>
    <p>2012/06/12 12:00:00 AM</p>
  </blockquote>
  
  <p>That is what they display in the textbox. </p>
  
  <p>I want them to display "dd M yy"</p>
  
  <blockquote>
    <p>06 Jun 2012</p>
  </blockquote>
  
  <p>How can Format the textbox to display the date like this.</p>
  
  <p>I can get today's date to display in this format with the following code:</p>
  
  <pre><code>    $('.DatePicker').datepicker({       
              dateFormat: "dd M yy"
          });
  $('.DatePicker').datepicker('setDate', new Date());
  </code></pre>