Hi all, does anyone know how to convert a month from numbers to words? I’m using a DateTime.Now.AddMonths(-1).ToString(“MM”) and it returns the month to me as a number(e.g. 02). I want to have it return as words instead(i.e instead of 02 it returns February etc.). Is there a way to do so?
Use DateTime.Now.AddMonths(-1).ToString(“MMMM”) This will return you full month Like February
Hope this might help you
The solution worked! Thank you so much!
This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.