Answers for "c# set datetime now"

C#
3

c# datetime current

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

c# set datetime

var date1 = new DateTime(2008, 5, 1, 8, 30, 52);
Console.WriteLine(date1);
Posted by: Guest on August-13-2020

C# Answers by Framework

Browse Popular Code Answers by Language