loads of useful information, examples and tutorials pertaining to web development utilizing asp.net, c#, vb, css, xhtml, javascript, sql, xml, ajax and everything else...

 



Advertise Here
C-Sharpener.com - Programming is Easy!  Learn Asp.Net & C# in just days, Guaranteed!

Convert Month Integer into a Month Name in Asp.Net

by naspinski 9/17/2009 6:38:00 AM

turn 12 into 'December', 1 into 'January', etc.

Simple line of code that makes life easy, it's even culture sensitive:
CultureInfo.CurrentCulture.DateTimeFormat
  .GetMonthName(intMonth);

Currently rated 4.3 by 4 people

  • Currently 4.25/5 Stars.
  • 1
  • 2
  • 3
  • 4
  • 5

Tags: ,

asp.net | c#

Related posts


Comments are closed