Re: Wrong time being displayed by PHP!
| From: | David OBrien | Date: | Tue, 16 Oct 2012 18:07:38 +0000 |
| Subject: | Re: Wrong time being displayed by PHP! | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-319485@lists.php.net to get a copy of this message | ||
On Tue, Oct 16, 2012 at 2:02 PM, Richard S. Crawford
<richard@underpope.com>wrote:
> The value of date.timezone in php.ini is set to "America/Los_Angeles".
>
> The local time is 11:02 a.m. Yet the output of date("h:i a e") is:
>
> 02:02 pm America/Los_Angeles
>
> which is three hours ahead of the real time.
>
> Why is this? What's going on?
>
> --
> Sláinte,
> Richard S. Crawford (richard@underpope.com)
> http://www.underpope.com
> Twitter: http://twitter.com/underpope
> Facebook: http://www.facebook.com/underpope
> Google+: http://gplus.to/underpope
>
the clock on the server is wrong?