Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

CTime Class

Status
Not open for further replies.

Essendry

IS-IT--Management
Nov 13, 2002
4
0
0
GB
Is there anyone who has a chunk of code that uses the CTime class? I need to use it to create an instance with a date of birth and another with the days time and date, I am new to classes and can't get my head round them- an asplanation on how they work would be most gratefull.
 
There are thousands of chunks of code at msdn.microsoft.com

CTime should be deprecated in favor of COleDateTime.

COleDateTime dt = COleDateTime::GetCurrentTime();

Good luck
-pete
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top