Partager 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. See the function VarDateFromUdate for more details.

Requirements

Header: atlcomtime.h

See Also

Concepts

COleDateTime Class

COleDateTime Members

Hierarchy Chart