Re: [PHP] Date() reporting wrong on OS X server intermittently

2005-02-17 Thread Brent Baisley
The 12 hours seems suspicious to me since it's the difference between 
AM and PM.

My other guess would be that it's grabbing Greenwich time, but it 
doesn't look like your offset from GMT is twelve hours.

On Feb 17, 2005, at 4:12 PM, Rowan Hick wrote:
Hi There,
I have an app which is installed across a dozen odd organisations, and 
one
this week which is running on an OS X Xserve machine.

Intermittently this week the PHP app has been seeing the wrong time.
Shifting 12hrs at a time. The IT administrator who runs the box says 
that
it's all okay, and it's synced correctly with a master server. 
Suspiciously
enough some workmen had been in on the weekeend prior and may have
cut/spiked the power to the box... (coincidence?)

Is it possible that PHP could see a different date to the OSX GUI ? I
wouldn't think it would be possible at all.
Has anyone out there seen weird problems like this before ?
Many Thanks,
Rowan
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

--
Brent Baisley
Systems Architect
Landover Associates, Inc.
Search  Advisory Services for Advanced Technology Environments
p: 212.759.6400/800.759.0577
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


Re: [PHP] Date() reporting wrong on OS X server intermittently

2005-02-17 Thread Rowan Hick
It could be flicking between GMT and local time, local time is 13 hrs
difference. 

There's nothing on the server that would be changing an environment variable
for the PHP app, so I'm pretty much ruling out interference from that. I
still keep coming back to the server clock must be wrong but the IT guy
assures me it isn't.

Has anyone seen an error in PHP when it's gotten the date wrong. I can't
imagine this ever happening. (FYI OSX Server 10.3 PHP 4.3.6 )

 

On 18/2/05 9:00 AM, Brent Baisley [EMAIL PROTECTED] wrote:

 The 12 hours seems suspicious to me since it's the difference between
 AM and PM.
 
 My other guess would be that it's grabbing Greenwich time, but it
 doesn't look like your offset from GMT is twelve hours.
 
 
 On Feb 17, 2005, at 4:12 PM, Rowan Hick wrote:
 
 Hi There,
 
 I have an app which is installed across a dozen odd organisations, and
 one
 this week which is running on an OS X Xserve machine.
 
 Intermittently this week the PHP app has been seeing the wrong time.
 Shifting 12hrs at a time. The IT administrator who runs the box says
 that

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php