So I'm using a timestamp in my database to save the time when the user posts a update. Now I've done some tweaks and now it returns "x hours ago" and stuff like that. My problem is that it is set to be GMT even if the user browsing is in America or Australia, it might say 5 hours ago when the user posts. Now how do I change my timezone to the one of the user browsing?
If they are anonymous posting you can use javascript to grab the timezone
and then fill a hidden field with it to grab and store with the message, you can then use that offset to adjust the message times
Now, how do I plus/minus from the $timestamp (0000-00-00 00:00:00) to be the same as in their timezone?
And on the wall, it's simply a $timestamp variable pulling out the timestamp for that post?