DDV_MinMaxDateTime
Call DDV_MinMaxDateTime to verify that the time/date value in the date and time picker control (CDateTimeCtrl) associated with refValue falls between refMinRange and refMaxRange.
void AFXAPI DDV_MinMaxDateTime( CDataExchange* pDX, CTime& refValue, const CTime* refMinRange, const CTime* refMaxRange ); void AFXAPI DDV_MinMaxDateTime( CDataExchange* pDX, COleDateTime& refValue, const COleDateTime* refMinRange, const COleDateTime* refMaxRange );
For more information about DDV, see Dialog Data Exchange and Validation.