Hi All,
Does anyone know of a C# class for retrieving the system time?
Thanks for your help,
Donal
Hi All,
Does anyone know of a C# class for retrieving the system time?
Thanks for your help,
Donal
DateTime is the struct that is used for time/date manipulations. The struct has a static member function called Now which returns the system date and time in said structure.
DateTime t = DateTime.Now();
hth
-nv
She was so Blonde, she spent 20 minutes looking at the orange juice can because it said "Concentrate."
When in doubt, read the FAQ.
Then ask a smart question.
Thanks nvoigt,
Just what i needed.