This method retrieves the currently selected time from a date and time picker (DTP) control.
Store the time information in a COleDateTime class, a CTime class, or a SYSTEMTIME structure.
Header file: | Afxdtctl.h |
Platforms: | H/PC Pro |
Windows CE versions: | 2.10 and later |
Complete documentation: | Visual C++ documentation |
BOOL GetTime( COleDateTime& timeDest ) const;
DWORD GetTime( CTime& timeDest ) const;
DWORD GetTime( LPSYSTEMTIME pTimeDest ) const;