adding datetimepicker to events