If you use the DateTimePicker control put this in CloseUp :
thisform.currentTime.value=time(this.object.value)
If you use the calendar control put this in Afterupdate:
thisform.currentTime.value=time(this.object.value)
Both controls have a value property of type datetime.
dz
Doru