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 get column value from the selected row in data grid in wpf c#.net

How to make and use web service in Microsoft Dynamics Navision.

How to use Format function in Microsoft Dynamics Navision.