date working, timepicker not