Answers for "how to write the current datetime in asp.net"

C#
12

c# get current date

DateTime now = DateTime.Now;
Posted by: Guest on April-25-2020
4

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 write the current datetime in asp.net"

C# Answers by Framework

Browse Popular Code Answers by Language