What is the proper way to get the complete name of month of a DateTime
object?
e.g. January
, December
.
I am currently using:
DateTime.Now.ToString("MMMMMMMMMMMMM");
I know it's not the correct way to do it.
Use the "MMMM" custom format specifier:
DateTime.Now.ToString("MMMM");