title: How can I change the time format used in my MVC Razor code?
body: <p>In my C# code I have a datatype of </p>
  
  <pre><code>public DateTime? Created { get; set; }
  </code></pre>
  
  <p>In my razor code this prints out as:</p>
  
  <pre><code>&lt;td&gt;@Model.Created&lt;/td&gt;
  
  5/23/2012 1:26:39 PM
  </code></pre>
  
  <p>I would like to change the format to:</p>
  
  <pre><code>5/23/2012 13:26
  </code></pre>
  
  <p>Can someone help me by telling me how I can do this?</p>