Compartilhar via


COleDateTime::GetAsUDATE

Call this method to obtain the time in the COleDateTime object as a UDATE data structure.

bool GetAsUDATE( 
   UDATE& udate  
) const throw( );

Parameters

  • udate
    A reference to a UDATE structure to receive the converted date/time value from the COleDateTime object.

Return Value

Returns true if successful; false if the conversion fails, or if the COleDateTime object is NULL or invalid.

Remarks

A UDATE structure represents an "unpacked" date.

Requirements

Header: atlcomtime.h

See Also

Reference

COleDateTime Class

Hierarchy Chart