Asp.net: Get the current Date Time of system

In this article I am going to explain how to get the current date time of system in asp.net.

C# code:
lbldatetime.Text = DateTime.Now.ToString();


VB.net code:
lbldatetime.Text = DateTime.Now.ToString()


Post a Comment

0 Comments