Ah yes, good luck with that. You probably want some approach that takes browser local time and compares that to server time to present possible options to the user. Remember DST can cause further headaches, do not go storing just an hours offset, you want to store the (POSIX?) timezone name instead.I'm not sure how to get the TZ. I could generate a list of available timezones and let registeres users choose & save their preferred timezone. This list has 1781 entries. I didn't know there are this many timezones... Maybe I'll do some little Javascript to read the client's (webbrowser's) time and use it as TZ info.
Oh, and as for running PHP or such in UTC, it should be as simple as:
Code:
putenv("TZ=UTC");