year month day how get only day in C# code example
Example: get day month year from date c#
// can add : or / to seperate dates and time
DateTime.Now.ToString("yyyyMMddhhmmss")
// can add : or / to seperate dates and time
DateTime.Now.ToString("yyyyMMddhhmmss")