On Tue, Oct 16, 2012 at 4:19 PM, Richard S. Crawford
<rscrawf...@mossroot.com> wrote:
> Thanks for the suggestion. Unfortunately the problem seems to be that PHP
> thinks the America/Los_Angeles timezone is the same as EDT. I'm not sure
> how to approach this issue.

    Per list rules, just a gentle reminder: please don't top-post.

    With regard to debugging your issue, it's extremely unlikely that
it's PHP's fault, since no one else has the same issue.  However, it
does indeed sound as though there's a configuration mismatch or a bad
setting of the system clock (as suggested earlier by myself and
others).  What's the output when you run the code below?


if (php_sapi_name() == 'cli') {
} else {

echo date_default_timezone_get().NL;

echo date('r').NL;

echo gmdate('r').NL;

echo time().' ('.date('Z').')'.NL;

echo trim(`date`).NL;


</Daniel P. Brown>
Network Infrastructure Manager

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

Reply via email to