Re: date("H", $datevalue) always adds an hour?

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

 



Hi,

On Jan 20, 2006, at 2:24 AM, Murray @ PlanetThoughtful wrote:
Can anyone help me figure out how to accommodate for this?

Not sure if this will help, but:

# Set time zone:
putenv('TZ=US/Pacific'); // I am on west-coast, my servers are on east, if not for this code the timestamp used in my script will reley upon the server time. This line of code will over-ride server time.

Maybe look-up putenv on php.net and read-up in the comments section, I usually find good info that way.

Gl,
Cheers,
Micky

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