title: MVC Razor Get Month Name
body: <p>I have the following code in my MVC 4 razor view, which is supposed to take the <strong>DateTime</strong> property called <strong>modifiedDate</strong>, and print out the month name, ie, Jan, Feb etc, instead of 1, 2.</p>
  
  <pre><code>@foreach (var post in Model.NewsList)
  {
     &lt;li class="entry"&gt;
       &lt;p class="calendar"&gt;&lt;em&gt;@post.modifiedDate.Value.Month.ToString("mmm")&lt;/em&gt;&lt;/p&gt;               
     &lt;/li&gt;
  }
  </code></pre>
  
  <p>Any ideas how to do this?</p>
  
  <p>Thanks.</p>