View Single Post
Old 05-16-2008, 01:20 AM   PM User | #1
BrightNail
Regular Coder

 
Join Date: Jun 2002
Posts: 349
Thanks: 2
Thanked 0 Times in 0 Posts
BrightNail is an unknown quantity at this point
Date/Time and Local TimeZone from Browser headers. ?

I have a need to give the view on the date/time to the user (web surfer) on a website, but the time needs to be set to the users local timezone. I am aware this is given via the browser headers. I DO NOT want to use the time the users 'local system'. I will grab their timezone from the headers and use that against utc/greenwich.

Does someone have a working example of this somewhere? I can't seem to locate one. Alot of people talk about it, but I have yet to see a reliable and complete script.

please advise.
BrightNail is offline   Reply With Quote