Export (0) Print
Expand All

COleDateTime::operator DATE

Converts a ColeDateTime value into a DATE.

operator DATE( ) const throw( );

This operator returns a DATE object whose value is copied from this COleDateTime object. For more information about the implementation of the DATE object, see the article Date and Time: Automation Support.

The DATE operator will assert if the COleDateTime object is set to null. See COleDateTime Relational Operators for an example.

Header: atlcomtime.h

© 2014 Microsoft