imf
asked on
Retrieving the system time in MFC
How do I get the current system time into a member variable?
I tried using CTime::GetCurrentTime() but that returns the
elapsed time since Windows95 was started. I also checked out
the GetSystemTime() function but didn't understand how that works. The variable I'm using is a CTime variable.
// I want to store the current system time in this variable
CTime esDate;
I tried using CTime::GetCurrentTime() but that returns the
elapsed time since Windows95 was started. I also checked out
the GetSystemTime() function but didn't understand how that works. The variable I'm using is a CTime variable.
// I want to store the current system time in this variable
CTime esDate;
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.