custom datetimepicker working with create events