Get current date in personalized format in c#

string dateFormatted = DateTime.Today.ToString("yyyy.MM.dd");

Browse More Popular Posts

Leave a Comment