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

2006-01-20 Thread Michael Hulse
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

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

2006-01-20 Thread Richard Lynch
On Fri, January 20, 2006 4:24 am, Murray @ PlanetThoughtful wrote: > Wondering if anyone can help me work out why date("H") always adds an > hour? I'm *assuming* it thinks it should be compensating for Daylight > Saving Time (though I'd be just as willing to believe that it's caused > by something

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

2006-01-20 Thread Silvio Porcellana [tradeOver]
David Grant wrote: Murray, I can't think what else it might be. Sorry! David What does date("I", $datevalue) return? (it's a capital 'i') I guess you already checked out this page... http://php.net/date -- tradeOver | http://www.tradeover.net ...ready to become the King of the World? --

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

2006-01-20 Thread David Grant
Murray, I can't think what else it might be. Sorry! David -- David Grant http://www.grant.org.uk/ http://pear.php.net/package/File_Ogg0.2.1 http://pear.php.net/package/File_XSPF 0.1.0 -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

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

2006-01-20 Thread Murray @ PlanetThoughtful
On 20/01/2006 8:48 PM, David Grant wrote: Murray, As far as I know, Queensland is in EST (Eastern Standard Time), so that is the correct value. Are you using the same machine or is it remote? David Hi David, I'm currently working entirely on my local (Queensland) machine. The remote mach

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

2006-01-20 Thread David Grant
Murray, As far as I know, Queensland is in EST (Eastern Standard Time), so that is the correct value. Are you using the same machine or is it remote? David -- David Grant http://www.grant.org.uk/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub

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

2006-01-20 Thread Murray @ PlanetThoughtful
On 20/01/2006 8:39 PM, David Grant wrote: Murray, What do you get if you print date("T")? David Hi David, I get "EST", which I assume is "Eastern Savings Time"? If that's the case, any idea where I change this value so that it only affects my local machine? Much warmth, Murray -- PHP

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

2006-01-20 Thread David Grant
Murray, What do you get if you print date("T")? David -- David Grant http://www.grant.org.uk/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] date("H", $datevalue) always adds an hour?

2006-01-20 Thread Murray @ PlanetThoughtful
Hi All, Wondering if anyone can help me work out why date("H") always adds an hour? I'm *assuming* it thinks it should be compensating for Daylight Saving Time (though I'd be just as willing to believe that it's caused by something else), however we don't observe DST in Queensland, Australia.