|
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.
|