Re: [PHP] timezone

[email protected] (Maciek Sokolewicz)
Newsgroups php.general
Message-ID <CAOr9TygtCacGewk98BH-4Ldha1WGDoWBfyCp6G9G=v99mkKarw@mail.gmail.com>
On 15 April 2013 23:06, Larry Martell <[email protected]> wrote:

>  But UCT is not the timezone. When this app runs in New Mexico (where I
> am) it's Mountain time. When it runs in NY it's Eastern. When it runs
> in Tokyo it's JST, etc. The user has the option of setting the
> timezone all times are displayed in. They can select any timezone
> regardless of where they are. The app displays the last update time in
> the user selected TZ. So I have to convert the time I get from the
> server to that.
>

Most servers provide UTC time regardless of the exact timezone they are
situated in and then leave it to the user to show it in the right timezone
to the user. The timezone you want to set is the timezone you GET the time
in. Not necesserily the timezone your device resides in.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.