Click to See Complete Forum and Search --> : DateTime object


FunnyButCocky
February 27th, 2003, 11:28 AM
Hi all,

Could someone please give me some sample C++ code showing how to use this object to get the current system date and time?

Thanks!

Jesper A
March 2nd, 2003, 11:51 AM
This is one way to go..

COleDateTime dtCurrent;
dtCurrent = COleDateTime::GetCurrentTime();

If it was what you were searching for.