COleDateTime::operator =

const COleDateTime& operator =( const COleDateTime& dateSrc );
const COleDateTime& operator =( const VARIANT& varSrc );
const COleDateTime& operator =( DATE dtSrc );
const COleDateTime& operator =( const time_t& timeSrc );
const COleDateTime& operator =( const SYSTEMTIME& systimeSrc );
const COleDateTime& operator =( const FILETIME& filetimeSrc );

Remarks

These overloaded assignment operators copy the source date/time value into this COleDateTime object. A brief description of each these overloaded assignment operators follows:

For more information, see the VARIANT entry in the Win32 SDK OLE Programmer's Reference.

For more information on the time_t data type, see the time function in the Run-Time Library Reference.

For more information, see the SYSTEMTIME and FILETIME structures in the Win32 SDK documentation.

For more information about the bounds for COleDateTime values, see the article Date and Time: Automation Support in Visual C++ Programmer’s Guide.

COleDateTime OverviewClass MembersHierarchy Chart

See Also   COleDateTime::COleDateTime, COleDateTime::SetDateTime, COleDateTime::GetStatus