Answers for "how to display current date and time in c#"

C#
3

c# datetime current

DateTime now = DateTime.Now;
string strDate = now.ToString("YYYY-MM-dd");
Posted by: Guest on January-21-2021

Code answers related to "how to display current date and time in c#"

C# Answers by Framework

Browse Popular Code Answers by Language