What did you try? This works for me:

>>> d=ui.UIDatePicker >>> d.date=datetime.datetime(2015,9,2,4,4,4) >>> d.date datetime.datetime(2015, 9, 2, 4, 4, 4)