PHP: How do I convert a server timestamp to the user's timezone?
- by KeyStroke
Hi,
I'm currently storing times using the 'time()' function in the database. However, it's using the timezone of the server, and I'd like for each user to see the time according to their timezone (set in their profile).
How do I do the timestamp conversion? (and I mean from timestamp to timestamp, not to readable time)
Your help is appreciated