Zend\Http\Header\AbstractDate::compareTo
Compare provided date to date for this header Returns < 0 if date in header is less than $date; > 0 if it's greater, and 0 if they are equal.
Signature
public function compareTo(string|DateTime
$date )
Parameters
$date
— object
Returns
- int