Re: timezone

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 15 April 2013 23:06, Larry Martell <larry@xxxxxxxxxxxxxxxxxxxxx> 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.

[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux