Re: PHP 5.0.1 Date
| From: | Richard Lynch | Date: | Wed, 11 Jul 2007 20:25:03 +0000 |
| Subject: | Re: PHP 5.0.1 Date | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-258639@lists.php.net to get a copy of this message | ||
Almost for sure from the TZ environment variable, and almost for sure
there's more about it in the FAQ, IIRC:
http://php.net/faq.php
On Wed, July 11, 2007 11:14 am, Shafer, Philip wrote:
> The time reported by the date() function is off by one hour.
>
> Currently our server is configured to EDT (-400) time zone, however
> our
> php installation is reporting the timezone at EST (-500).
>
> I know in php 5.1.x you can set the timezone in php.ini. However
> we're
> not prepared to update php at the moment.
>
> Can anybody let me know where PHP 5.0.1 gets the timezone information
> from? How can I change this so PHP returns the proper date.
>
> Thanks,
>
> Phil
>
> -------------------
> Philip Shafer
> Web Programmer
> University Web Services
> Rowan University
> Glassboro NJ 08028
> 856-256-4418
> shafer@rowan.edu
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>
--
Some people have a "gift" link here.
Know what I want?
I want you to buy a CD from some indie artist.
http://cdbaby.com/browse/from/lynch
Yeah, I get a buck. So?