How to show todays date and current time in C#.Net
// This will display the todays date and current time....
////////////// CODE ////////////////////////
DateTime dt = DateTime.Now;
MessageBox.Show(dt.ToString());
////////////// OUTPUT ////////////////////////

--
/\/ir@\/ <(.'.)>
////////////// CODE ////////////////////////
DateTime dt = DateTime.Now;
MessageBox.Show(dt.ToString());
////////////// OUTPUT ////////////////////////
--
/\/ir@\/ <(.'.)>
Comments
Post a Comment