Re: PHP 5.0.1 Date

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

 



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@xxxxxxxxx
>
> --
> 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?

-- 
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