Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw
 
PerlMonks  

Re^3: Website Date

by afoken (Chancellor)
on May 17, 2012 at 08:33 UTC ( [id://971006]=note: print w/replies, xml ) Need Help??


in reply to Re^2: Website Date
in thread Website Date

Now I just have to figure out if it's really the website's server that determines the time or if it's something else.

The Date header is set by the webserver, but it may have been changed by any proxy between the webserver and the client. Usually, proxies do not touch the date header, simply because there is no need. The webserver usually just asks the operating system for its idea of the current time, because that's the easiest way to implement it. So, when you request any webserver and read the Date header from the response, you will most times see the operating system's idea of the current time, plus some fractions of a second for transport through the networks.

The only notable exceptions are embedded systems without the need for time keeping and thus without any reliable time source, they either omit the Date header or send some nonsense, like 1970-01-01 00:00:00 + uptime.

Alexander

--
Today I will gladly share my knowledge and experience, for there are no sweeter words than "I told you so". ;-)

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://971006]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others cooling their heels in the Monastery: (4)
As of 2024-04-24 22:01 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found