basic datetimepicker working