Ryan, i'm terribly curious ... how do you detect the user's local timezone? As far as i know this isn't part of the http protocol. If you have a method for doing this i would be very interested in knowing what it is. Thanks!
I assume the timezone info is just done with the zipcode or phone number you supply. I just checked, and that information is included in the records kept in the "forum settings."
I don't think the IP address will do it since the geographic allocation of them approaches randomness, and changes from moment to moment. I just did a very throrough check of HTTP transactions and the information isn't included.
I'm guessing that the method they use is to send their date/time to the browser and use a javascript calculation to have the browser adjust it to local.
Step 1: Javascript to get the GMT Offset (which uses system time).
Step 2: Also use Javascript, send it to the server in an Img Request (so it's a silent submit). This gets written to a cookie by the server then.
Step 3: If there is a Cookie Value for GMT Offset present, then modify the Server's Post Date by that amount, else render it as default (which is Pacific time FYI).
Yes, Older button okay now. Thanks. I had stopped reading the sticky post. I need to remember to look at the last date/time posted on that one when I come in.