In case we have a date value and we want to generate the full name of the month for that date, we can use the following code:
DateTime vDt = DateTime.Now;
String vMonthName = vDt.ToString("MMMM");
Happy Coding!!!.
DateTime vDt = DateTime.Now;
String vMonthName = vDt.ToString("MMMM");
Happy Coding!!!.
Comments