I am quite confused whether is it possible to get the request date on HTTP Request. Like in the Response header:
Date: Thu, 20 Oct 2011 03:03:40 GMT
I tried var_dump(apache_request_header()) and print_r($_SERVER) to attempt if the request date is in there, but no luck.
Any ideas? Thanks.
apache_request_header does not return the Request Date/Time. It mainly has the following information
The best way to find out when the page was requested is to use.
Using $_SERVER is more reliable and uses less resources.
EDIT
Will output something like the folowing