Date: 12/21/99
- Next message: Kristian Köhntopp: "Re: [PHPLIB] Timezones"
- Previous message: Jürgen Bund: "[PHPLIB] PHP-Binary fuer Win32, die fuer PHPLIB geeignet ist"
- In reply to: Baba Buehler: "[PHPLIB] Timezones"
- Next in thread: Kristian Köhntopp: "Re: [PHPLIB] Timezones"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
> I'd like to allow my users to pick their local timezone, store that in a
> user var somewhere and then convert all times on the site to their local
> timezone.
>
> First, I need an accurate list of timezones & GMT offsets, does anyone
know
> where a good list or some code is?
>
> Second, the idea of constantly resetting the TZ environment variable seems
a
> little kludgy to me, does anyone know of a better way to convert time?
You definately need to read the manual page about locale.
try http://php.nederland.net/manual/function.setlocale.php3
-
PHP3 Base Library Mailing List. Send messages to <phplib <email protected>>.
To unsubscribe, send "unsubscribe" to <phplib-request <email protected>> in
the body, not the subject, of your message.
- Next message: Kristian Köhntopp: "Re: [PHPLIB] Timezones"
- Previous message: Jürgen Bund: "[PHPLIB] PHP-Binary fuer Win32, die fuer PHPLIB geeignet ist"
- In reply to: Baba Buehler: "[PHPLIB] Timezones"
- Next in thread: Kristian Köhntopp: "Re: [PHPLIB] Timezones"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

