BCGControlBar Pro for MFC
BOOL CBCGPToolbarDateTimeCtrl::SetTime ( LPSYSTEMTIME  pTimeNew = NULL)

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
pTimeNewA pointer to CTime object containing the time to which the control will be set.