public function getDate(): ?\DateTimeImmutable
Returns the Date header as a DateTime instance.
/**
* Returns the Date header as a DateTime instance.
*
* @throws \RuntimeException When the header is not parseable
*
* @final
*/
public function getDate(): ?\DateTimeImmutable
{
return $this->headers->getDate('Date');
}
Powered by Froala Editor