Re: Wrong time being displayed by PHP!

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

 



On Wed, Oct 17, 2012 at 2:28 PM, Richard S. Crawford
<rscrawford@xxxxxxxxxxxx> wrote:
>
> You can see the current output of the above code here:
>
> http://projectbench.extensiondlc.net
>
> I've confirmed that the server is set to PDT. The value of date.timezone in
> php.ini is "America/Los_Angeles", which should be (currently) -8 hours from
> UTC, but it looks like the PDT offset is only set to -4. Does that even make
> sense?

    Yes, `date` at the command line is showing it, and sure, the
timezone is showing as PDT on both ends, but it's also using -0400 for
the timezone.  In any case, this is something your administrator needs
to handle, and isn't something with PHP or your code, from the looks
of it.

-- 
</Daniel P. Brown>
Network Infrastructure Manager
http://www.php.net/

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[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