BCGControlBar Pro for MFC
BOOL CBCGPToolbarDateTimeCtrl::SetTime ( const CTime *  timeNew)

Sets the time in a date and time picker control.

Returns
Nonzero if successful; otherwise 0.

Sets the time in a date and time picker control by calling CDateTimeCtrl::SetTime (see MFC documentation for details).

Parameters
timeNewA reference to COleDateTime object containing the time to which the control will be set.