By this expression DateTime.Now.ToString("dd-MMM-yy") we can get current date but I need the month name in capital letter like this "MAY" Instead of "May"

Suggest a expression for it

Hi @Gopikrishna_S,

DateTime.Now.ToString("dd-MMM-yy").ToUpper should give you the result you want:

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.