datetimepicker now working