Compartilhar via


COleDateTime::operator DATE

Converts a ColeDateTime value into a DATE.

operator DATE( ) const throw( );

Remarks

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.

Requirements

Header: atlcomtime.h

See Also

Reference

COleDateTime Class

Hierarchy Chart

COleDateTime::m_dt

Other Resources

COleDateTime Members