|
|
posted on April 19, 2010 05:25
Get the date and time in C#
vDate = Convert.ToString(System.DateTime.Today.Date.ToShortDateString());
vTime = Convert.ToString(System.DateTime.Now.ToShortTimeString());
There are currently no comments, be the first to post one!