Thursday, August 5, 2010

Get the name of the day from a number





int dayName = 5;
string NameOfDay =
System.Globalization.DateTimeFormatInfo.CurrentInf o.GetDayName((DayOfWeek)
dayName);





No comments:

Post a Comment