in reply to DateTime days limit
I think the easiest approach is to simply compare the date parts:
if( $reservation_date->ymd gt $days_from_now->ymd ) { ... }
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: DateTime days limit
by htmanning (Friar) on Apr 20, 2020 at 21:28 UTC |