SECDateTimeCtrl::GetDateTime
const COleDateTime&SECDateTimeCtrl::GetDateTime(void)
Gets date and time.
Defined in: DTCtrl.cpp
Return Value
the current date/time as a COleDateTime object.
Comments
When in null date entry mode, GetDateTime will return one of three things:
A COleDateTime object with a status of COleDateTime::null if the date is incomplete.
A COleDateTime object with a status of COleDateTime::invalid if the date is complete, but invalid (out of range).
A COleDateTime object containing the entered date/time.
When not in null date entry mode, GetDateTime is unchanged; it will always return a COleDateTime object containing the currently displayed date/time.
See Also