title: MVC View nullable Date field formatting
body: <p>I am trying to display the following in a view but is giving a problem:</p>
  
  <pre><code>    &lt;td&gt;
       @item.CreatedByDt.ToString("MM/dd/yyyy") 
      &lt;/td&gt;  
  </code></pre>
  
  <p>Any idea on how to handle a nullable Date field in a view. I am using Razor by the way.</p>
  
  <p>I am getting the following error: </p>
  
  <blockquote>
    <p>No overload for method 'ToString' takes 1 arguments </p>
  </blockquote>