Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

How to get current time in C#?

1 view
Skip to first unread message

Tomasz Radziszewski

unread,
Dec 9, 2003, 6:11:47 AM12/9/03
to
I need to get current system DATE and TIME in C#. How to do it in a possibly
simple way?


Ali R.

unread,
Dec 9, 2003, 11:55:09 AM12/9/03
to
DateTime structur has a static member Now

DateTime CurTime = DateTime.Now;

Ali R.

"Tomasz Radziszewski" <uf...@student.uci.agh.edu.pl> wrote in message
news:br4ama$au1$1...@atlantis.news.tpi.pl...

0 new messages