$date->isBetween()
Checks if the object's datetime is between the given datetimes
$date->isBetween(DateTimeInterface|string|int $min, DateTimeInterface|string|int $max): bool
Parameters
| Name | Type | Default |
|---|---|---|
| $min * | DateTimeInterface|string|int |
– |
| $max * | DateTimeInterface|string|int |
– |
Return type
bool