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