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

Your name:

Reply:


Posted by Rowan Hick on 02/18/05 01:15

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" <brent@landover.com> 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

[Back to original message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация