BOOL GetAsSystemTime( SYSTEMTIME& sysTime ) const;
Return Value
TRUE if successful; FALSE if the conversion fails, or if the COleDateTime object is NULL or invalid.
Parameters
sysTime
A reference to a SYSTEMTIME structure to be converted to a date/time value and copied into the new COleDateTime object.
Remarks
Call this member function to convert the time in the COleDateTime object to be represented as a SYSTEMTIME data structure. GetAsSystemTime stores the resulting time in the referenced sysTime object. The SYSTEMTIME data structure initialized by this function will have its wMilliseconds member set to zero.
See GetStatus for more information on the status information held in a COleDateTime object.