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