Symfony\Component\HttpFoundation\Response::getDate
Returns the Date header as a DateTime instance.
Signature
public function getDate()
Returns
- DateTime
- A \DateTime instance
Errors/Exceptions
-
RuntimeException
- When the header is not parseable