PDA

View Full Version : Determine my local time


malaka
10th February 2005, 08:04 AM
I've seen websites that can tell me my IP address. Is there any way to determine a users local time?

Website examples?

Donks
10th February 2005, 08:11 AM
Originally posted by malaka
I've seen websites that can tell me my IP address. Is there any way to determine a users local time?

Website examples?
? Your computer has an internal clock...

Edit: If you want to see all the info your browser sends, google "browser headers." For instance:
http://pgl.yoyo.org/http/browser-headers.php
http://www.ranks.nl/tools/envtest.html
http://tuckey.org/browserheaders/

malaka
10th February 2005, 08:38 AM
Cool stuff. Thanks for the info!

Unfortunately, it doesn't look like determining a users time (based on header info) is possible.

I wanted to display a users IP address and their current time when they hit my web page.

Donks
10th February 2005, 08:42 AM
http://www.katsueydesignworks.com/cgi_clocks.htm

malaka
10th February 2005, 09:16 AM
Perfect!! Thanks!!