I think the easiest approach is to simply compare the date parts:
if( $reservation_date->ymd gt $days_from_now->ymd ) { ... }
In reply to Re: DateTime days limit
by Corion
in thread DateTime days limit
by htmanning
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |