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