title: Set DataFormatString for MVC3 DateTime
body: <p>I have some issue with displaying date correctly, using the MVC3 <em><code>DateTime</code></em> object.</p>
  
  <p>In the controller, I set <em><code>Date = DateTime.Now</code></em>.</p>
  
  <p>In ViewModel: </p>
  
  <pre><code>[Required(ErrorMessage = "Please enter a date")]
  [DisplayFormat(ApplyFormatInEditMode = true, DataFormatString = "{0:dd.mm.yyyy}")]
  public DateTime Date { get; set; }
  </code></pre>
  
  <p>In View:</p>
  
  <pre><code>@Html.LabelFor(m =&gt; Model.Date, "Date") 
  @Html.ValidationMessageFor(m =&gt; Model.Date) 
  @Html.TextBoxFor(m =&gt; Model.DatoForIntervju, new { @class = "datepicker" })
  </code></pre>
  
  <p>Output: </p>
  
  <pre><code>&lt;input class="datepicker" (...) value="26.09.2011 13:26:16" /&gt;
  </code></pre>
  
  <p>However, I want the value to be <strong>26.09.11</strong>.</p>
  
  <p>Why doesn't it work?</p>