title: Converting integer Month to its name
body: <p>Hi guys I'm currently doing a Blog Archive for my blog. I was able to call the list of blog by Year and Month but my problem is that my Month is displayed in integer. This image will show it <br/>
  <img src="https://i.stack.imgur.com/c7Bcn.png" alt="enter image description here"></p>
  
  <p>I created a <strong>ArchiveRepository</strong> <br/></p>
  
  <pre><code>public IQueryable&lt;ArchiveListModel&gt; AchiveList()
          {
              var ac = from Post in db.Posts
                       group Post by new { Post.DateTime.Year, Post.DateTime.Month }
                           into dategroup
                           select new ArchiveListModel()
                           {
                               AchiveYear = dategroup.Key.Year,
                               AchiveMonth = dategroup.Key.Month,
                               PostCount = dategroup.Count()
                           };
  
              return ac;
          }
  </code></pre>
  
  <p>I called it in my <strong>Controller</strong></p>
  
  <pre><code>public ActionResult Archive()
          {
              var archivelst = repository.AchiveList().ToList();
              return View(archivelst);
          }
  </code></pre>
  
  <p>then show it in my <strong>View</strong><br/></p>
  
  <pre><code>&lt;h2&gt;Archives&lt;/h2&gt;
  
  &lt;table&gt;
      &lt;tr&gt;
          &lt;th&gt;
              AchiveYear
          &lt;/th&gt;
          &lt;th&gt;
              AchiveMonth
          &lt;/th&gt;
          &lt;th&gt;
              PostCount
          &lt;/th&gt;
      &lt;/tr&gt;
  
  @foreach (var item in Model) {
      &lt;tr&gt;
          &lt;td&gt;
              @item.AchiveYear
          &lt;/td&gt;
          &lt;td&gt;
              @item.AchiveMonth
          &lt;/td&gt;
          &lt;td&gt;
              @item.PostCount
          &lt;/td&gt;      
      &lt;/tr&gt;
  }
  
  &lt;/table&gt;
  </code></pre>
  
  <p>How will I convert it to integer? T_T<br/><br/>
  <strong>EDIT:</strong><BR/>
  I tried googling and found this answer<br/></p>
  
  <pre><code>CultureInfo.CurrentCulture.DateTimeFormat.GetMonthName(1);
  </code></pre>
  
  <p>But I don't know where to put it.. :(</p>