How to get month name and am/pm in lowercase
DateTime.Now.ToString("MMMM h:m tt");
this giving me capital letters, but I want small letters.
You just need to use ToLower method
DateTime.Now.ToString("MMMM h:m tt").ToLower();
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With