Snippets
19

Get the date and time in C#

 

vDate = Convert.ToString(System.DateTime.Today.Date.ToShortDateString());

vTime = Convert.ToString(System.DateTime.Now.ToShortTimeString());

Posted in: C Sharp - C#

Post Rating

Comments

There are currently no comments, be the first to post one!

Post Comment

Only registered users may post comments.

120 OLD FREEMANS WAY, BREWSTER, MA 02631
MAILING: P.O. BOX 2342, BREWSTER, MA 02631
PHONE (774) 323-3176