Share via


CTime::operator =

The assignment operator.

CTime& operator =(
   __time64_t time 
) throw( );

Parameters

  • time
    The new date/time value.

Return Value

The updated CTime object.

Remarks

This overloaded assignment operator copies 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.

Requirements

Header: atltime.h

See Also

Reference

CTime Class

Hierarchy Chart

CTime::CTime

Other Resources

CTime Members