The following procedure shows how to create a COleDateTime object and initialize it with the current time.
To get the current time
Create a COleDateTime object.
Call GetCurrentTime.
COleDateTime timeNow; timeNow = COleDateTime::GetCurrentTime();
The following procedure shows how to create a COleDateTime object and initialize it with the current time.
Create a COleDateTime object.
Call GetCurrentTime.
COleDateTime timeNow;
timeNow = COleDateTime::GetCurrentTime();