title: Display a formatted date in a TextBoxFor()
body: <p>I'm using MVC4 and Entity Framework to develop an intranet web app. I have a list of persons which I can edit. When I access the edit view, in the textbox "Start date", the date is displayed like this : <code>7/11/2013 00:00:00</code> . What I want to do is to display it in the format yyyy/MM/dd. I tried the <code>String.Format("{0:yyyy/MM/dd}", item.StartDate)</code> but it does not work. I also tried with the annotation <code>[DisplayFormat(DataFormatString = "{0:dd MMM yyyy}")]</code> but it does not work neither.</p>
  
  <p>In my view I have this : </p>
  
  <pre><code>&lt;div class="editor-field"&gt;
          @Html.TextBoxFor(model =&gt; model.StartDate, new { @class = "datepicker" })
          @Html.ValidationMessageFor(model =&gt; model.StartDate)
      &lt;/div&gt;
  </code></pre>
  
  <p>Any idea about how to do?</p>