|
Posted by bobkolk on 09/14/06 20:51
I'm writing a backend web app for a company that only has locations in
the US. Why can't I, at login, pull their getTimezoneOffset() using
javascript, cookie it, then when I need to show a local time compute
the difference in their value in the cookie vs. my server's value?
I've seen a million articles about factoring in DST, but when my server
(which is in PA) switches to DST won't the difference value remain the
same since everyone rolls into DST on the same date?
For example, in June the server offset is 4 and in California the
offset is 7. But in December the server is at 5 and California it's 8.
So it's always a difference of 3. No?
[Back to original message]
|