title: Formatting a nullable DateTime field in MVC
body: <p>I am trying to change the format of a nullable <code>datetime</code> field in a table, so that it displays in the format <code>ddd dd mmm yyyy</code>. I have tried using <code>DateTime.ToString("ddd dd mmm yyyy)</code>, and <code>DateTime.Value.ToString("ddd dd mmm yyyy")</code>, but neither have worked.</p>
  
  <pre><code>&lt;td&gt;
    @Html.DisplayFor(modelItem =&gt; item.DailyReportDate)
  &lt;/td&gt;
  </code></pre>
  
  <p>Any advice would be appreciated.</p>