Pages

Search Code Shode

Saturday, June 12, 2010

Convert Month Integer Into A Month Name in ASP.NET

Turn 11 into 'November', 3 into 'March', etc.

Simple line of code that makes life easy, it's even culture sensitive:

CultureInfo.CurrentCulture.DateTimeFormat.GetMonthName(intMonth);

اشتہارات