Time Zones for different users
- by Ben Sinclair
I am creating a script that allows the user to choose their own timezone...
If I am to make this work, how do I store dates in the database so that every timezone will read it, and show the correct date in their timezone?
Do I store the date as GMT and then when a user with the timezone GMT +10 selected views the item within my script, I show that date in GMT +10 time?
Is there a better way to do this?
Examples would be great :)