title: Change display of DateTime in MVC
body: <pre><code>&lt;%= Html.TextBoxFor(m =&gt; m.Trx.TradeDate, new { @class = "economicTextBox", propertyName = "Trx.TradeDate", dontRegisterNewIndication = true })%&gt;
  </code></pre>
  
  <p>Since this is a <code>TextBoxFor</code>, I can't just change the way it's displayed (I don't think?), because I have to have that specific property value I'm binding this to.</p>
  
  <p>This is displaying the full <code>DateTime</code> though - <code>5/18/2011 10:21:22 AM</code></p>
  
  <p>How do I get it to only display the <code>5/18/2011</code> portion?</p>
  
  <p>Should I do it through Javascript? This field is made as a JQuery DatePicker field as well.</p>