You can use Javascript to pull the time off their system clock, assuming
their clock is set correctly. Server-side, you can use an ARIN search on
their IP to get their location, but in that case you're relying on the IP
not being spoofed and/or all of the lookups actually working, which is not a
"real world" scenario.

Scot R.
inSite



-----Original Message-----
From: John Pitchko [mailto:[EMAIL PROTECTED]]
Sent: Monday, August 12, 2002 8:32 AM
To: [EMAIL PROTECTED]; [EMAIL PROTECTED]
Subject: Re: How to find the remote time?


Uhmmmm.... probably not with CGI because that is all executed server side,
so I don't think you can access anything on the individual clients unless
they expressly submit data to the server.

Maybe try some JavaScript?


John Pitchko
Data Services
Saskatchewan Government Insurance

>>> "Octavian Rasnita" <[EMAIL PROTECTED]> 08/11/02 08:29am >>>
Hi all,

How can I find the local time of the web page visitors?
Using localtime function shows me the localtime from the location where is
the server.

I couldn't find any environment variable for this either.

Thank you for any hint.

Teddy's Center: http://teddy.fcc.ro/
Mail: [EMAIL PROTECTED]



--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to