removes time value from datetimepicker