const CTime& operator =( const CTime& timeSrc );
const CTime& operator =( time_t t );
Remarks
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.
Example
// example for CTime::operator =
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 Overview | Class Members | Hierarchy Chart
See Also CTime::CTime