title: asp.net mvc datetime format in browser
body: <p>I have a jQuery datetime picker.</p>
  
  <p>This is the property of the model:</p>
  
  <pre><code>[DataType(DataType.Date)]
  [DisplayFormat(DataFormatString = "{0:dd/MM/yyyy}", ApplyFormatInEditMode = true)]
  [DisplayName("Birth date (DD/MM/YYYY)")]
  public DateTime? BirthDate { get; set; }
  </code></pre>
  
  <p>The code in the view:</p>
  
  <pre><code>@Html.TextBoxFor(m =&gt; m.Employee.BirthDate, new { @class = "dpTextBox" })
  </code></pre>
  
  <p>some javascript:</p>
  
  <pre><code>$(".dpTextBox").datepicker({
                  changeMonth: true,
                  changeYear: true,
                  dateFormat: 'dd/mm/yy'
              });
  $.datepicker.setDefaults($.datepicker.regional['nl']);
  </code></pre>
  
  <p>In Internet Explorer, it works fine.
  In Chrome it doesn't.
  The validation error is "The field Birth date (DD/MM/YYYY) must be a date."
  The language of Chrome is English.
  When I change the language to Dutch, it works fine, but I want the UI of Chrome in English...</p>