How to Get today date using C#.Net

 // to show the Todays date....

/////////////      CODE      /////////////////

          DateTime dt = DateTime.Today;

             MessageBox.Show(dt.ToString());

/////////////      OUTPUT       /////////////////





--
/\/ir@\/  <(.'.)>

Comments

Popular posts from this blog

How to use serial.write() in Arduino.

How to Generate random rows in dataset using c#.net

How to use Format function in Microsoft Dynamics Navision.