Answers for "c# how to get current date and time"

C#
3

c# get date

DateTime.Now.ToString("dd/MM/yyyy");
Posted by: Guest on March-16-2021
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 "c# how to get current date and time"

C# Answers by Framework

Browse Popular Code Answers by Language