datepicker y delete object