Re: time zone ignored (both via ini or in code)

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

 



On Tue, Nov 2, 2010 at 8:44 AM, Dan Yost <yodano@xxxxxxxxx> wrote:

> On Tue, Nov 2, 2010 at 9:19 AM, Nathan Nobbe <quickshiftin@xxxxxxxxx>
> wrote:
> > On Tue, Nov 2, 2010 at 7:52 AM, Dan Yost <yodano@xxxxxxxxx> wrote:
> >>
> >> So now I suppose the thread becomes: how do I get a valid US/Central
> >> (America/Chicago) timezone in PHP5?
> >
> > give the timezonedb extension a shot
> > http://pecl.php.net/package/timezonedb
>
>
> Tried it, no change. It is still impossible to get simple CENTRAL
> timezone output. This is maddening.


That's really weird since I'm sure php has its own timezone db, and it
sounds like that's where PHP is getting it if you saw the correct output
after switching date.timezone to America/Denver.  What about trying
date_default_timezone_set() ?

-nathan

[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