Answers for "c# set datetime today"

C#
3

c# datetime current

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

c# get today's date

DateTime today = DateTime.Today;
Posted by: Guest on March-25-2020

C# Answers by Framework

Browse Popular Code Answers by Language