title: ASP.NET MVC - JQuery datepicker format
body: <p>I have a form that accepts employee's date of birth and I have used jquery datepicker ui for that. I want the date picker to use the 'dd-mm-yyyy' format. any help would be greatly appreciated - thanks</p>
  
  <pre><code>&lt;div class="editor-field"&gt;
              @Html.EditorFor(model=&gt;model.DOB)
          &lt;/div&gt;
  
  &lt;script type="text/javascript"&gt;
      $(document).ready(function () {
          $('#DOB').datepicker();
       });
  &lt;/script&gt;
  </code></pre>