const CTime& operator =( const CTime& timeSrc );
const CTime& operator =( time_t t );
These overloaded assignment operators copy the source time into this CTime object.
The internal time storage in a CTime object is independent of time zone. Time-zone conversion is not necessary during assignment.
time_t osBinaryTime; // C run-time time (defined in <time.h>)
CTime t1 = osBinaryTime; // assignment from time_t
CTime t2 = t1; // assignment from CTime
CTime constructors