Wrong Date
am 16.10.2009 18:08:12 von Darvin Denmian
Hello,
My currently timezone is set to : America/Sao_Paulo
My currently date/time is ok: Fri Oct 16 13:04:45 BRT 2009
But when I execute "echo date("d/m/Y H:i:s");" the output presented
have +1 hour
Bellow [date] of php.ini:
date
date/time support => enabled
"Olson" Timezone Database Version => 2008.2
Timezone Database => internal
Default timezone => America/Sao_Paulo
Directive => Local Value => Master Value
date.default_latitude => 31.7667 => 31.7667
date.default_longitude => 35.2333 => 35.2333
date.sunrise_zenith => 90.583333 => 90.583333
date.sunset_zenith => 90.583333 => 90.583333
date.timezone => no value => no value
Thanks
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Re: Wrong Date
am 16.10.2009 19:14:32 von Goltsios Theodore
> Hello,
>
> My currently timezone is set to : America/Sao_Paulo
> My currently date/time is ok: Fri Oct 16 13:04:45 BRT 2009
> But when I execute "echo date("d/m/Y H:i:s");" the output presented
> have +1 hour
>
> Bellow [date] of php.ini:
>
> date
>
> date/time support => enabled
> "Olson" Timezone Database Version => 2008.2
> Timezone Database => internal
> Default timezone => America/Sao_Paulo
>
> Directive => Local Value => Master Value
> date.default_latitude => 31.7667 => 31.7667
> date.default_longitude => 35.2333 => 35.2333
> date.sunrise_zenith => 90.583333 => 90.583333
> date.sunset_zenith => 90.583333 => 90.583333
> date.timezone => no value => no value
>
>
> Thanks
>
>
Assuming you have a unix-like OS and the timezone you mention is set to
the system clock I will have to guess that PHP uses different zone from
the system.
Try setting the date.timezone setting in your php.ini and see what
happens (don't forget to restart the web server to make changes take
effect) or use the ini_set().
--
Thodoris
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Re: Wrong Date
am 16.10.2009 19:24:17 von Darvin Denmian
Thanks for your reply....
- I'm running Red Hat Linux (5.3)
- The system timezone is set to America/Sao_Paulo
I'm running a stand-alone php script (crontab) , and I don't know how PHP
output this wrong hour.
The output of command "php -i " shows:
Default timezone => America/Sao_Paulo
I don't know what to do :(
Thanks !
On Fri, Oct 16, 2009 at 2:14 PM, Thodoris wrote:
>
>> Hello,
>>
>> My currently timezone is set to : America/Sao_Paulo
>> My currently date/time is ok: Fri Oct 16 13:04:45 BRT 2009
>> But when I execute "echo date("d/m/Y H:i:s");" the output presented
>> have +1 hour
>>
>> Bellow [date] of php.ini:
>>
>> date
>>
>> date/time support => enabled
>> "Olson" Timezone Database Version => 2008.2
>> Timezone Database => internal
>> Default timezone => America/Sao_Paulo
>>
>> Directive => Local Value => Master Value
>> date.default_latitude => 31.7667 => 31.7667
>> date.default_longitude => 35.2333 => 35.2333
>> date.sunrise_zenith => 90.583333 => 90.583333
>> date.sunset_zenith => 90.583333 => 90.583333
>> date.timezone => no value => no value
>>
>>
>> Thanks
>>
>>
>
> Assuming you have a unix-like OS and the timezone you mention is set to the
> system clock I will have to guess that PHP uses different zone from the
> system.
>
> Try setting the date.timezone setting in your php.ini and see what happens
> (don't forget to restart the web server to make changes take effect) or use
> the ini_set().
>
> --
> Thodoris
>
>
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Re: Wrong Date
am 16.10.2009 19:31:44 von Joseph Masoud
Darvin Denmian wrote:
> Thanks for your reply....
>
> - I'm running Red Hat Linux (5.3)
> - The system timezone is set to America/Sao_Paulo
>
> I'm running a stand-alone php script (crontab) , and I don't know how PHP
> output this wrong hour.
>
> The output of command "php -i " shows:
>
> Default timezone => America/Sao_Paulo
>
> I don't know what to do :(
>
> Thanks !
>
>
>
>
> On Fri, Oct 16, 2009 at 2:14 PM, Thodoris wrote:
>
>>> Hello,
>>>
>>> My currently timezone is set to : America/Sao_Paulo
>>> My currently date/time is ok: Fri Oct 16 13:04:45 BRT 2009
>>> But when I execute "echo date("d/m/Y H:i:s");" the output presented
>>> have +1 hour
>>>
>>> Bellow [date] of php.ini:
>>>
>>> date
>>>
>>> date/time support => enabled
>>> "Olson" Timezone Database Version => 2008.2
>>> Timezone Database => internal
>>> Default timezone => America/Sao_Paulo
>>>
>>> Directive => Local Value => Master Value
>>> date.default_latitude => 31.7667 => 31.7667
>>> date.default_longitude => 35.2333 => 35.2333
>>> date.sunrise_zenith => 90.583333 => 90.583333
>>> date.sunset_zenith => 90.583333 => 90.583333
>>> date.timezone => no value => no value
>>>
>>>
>>> Thanks
>>>
>>>
>>>
>> Assuming you have a unix-like OS and the timezone you mention is set to the
>> system clock I will have to guess that PHP uses different zone from the
>> system.
>>
>> Try setting the date.timezone setting in your php.ini and see what happens
>> (don't forget to restart the web server to make changes take effect) or use
>> the ini_set().
>>
>> --
>> Thodoris
>>
>>
>>
>
>
1. It is possible that the php.ini files are different.
2. Run phpinfo() to check where the php.ini file your web server uses is
located.
3. Check that the timezone settings are correct.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Re: Wrong Date
am 16.10.2009 19:35:49 von Darvin Denmian
Could this issue be caused by outdated version of timezonedb
(http://pecl.php.net/package/timezonedb) ?
Thanks.
On Fri, Oct 16, 2009 at 2:31 PM, Joseph Masoud wr=
ote:
> Darvin Denmian wrote:
>>
>> Thanks for your reply....
>>
>> - I'm running Red Hat Linux (5.3)
>> - The system timezone is set to America/Sao_Paulo
>>
>> I'm running a stand-alone php script (crontab) , and I don't know how PH=
P
>> output this wrong hour.
>>
>> The output of command "php -i " shows:
>>
>> Default timezone =3D> America/Sao_Paulo
>>
>> I don't know what to do =A0:(
>>
>> Thanks !
>>
>>
>>
>>
>> On Fri, Oct 16, 2009 at 2:14 PM, Thodoris wrote:
>>
>>>>
>>>> Hello,
>>>>
>>>> My currently timezone is set to : America/Sao_Paulo
>>>> My currently date/time is ok: Fri Oct 16 13:04:45 BRT 2009
>>>> But when I execute "echo date("d/m/Y H:i:s");" the output presented
>>>> have +1 hour
>>>>
>>>> Bellow [date] of php.ini:
>>>>
>>>> date
>>>>
>>>> date/time support =3D> enabled
>>>> "Olson" Timezone Database Version =3D> 2008.2
>>>> Timezone Database =3D> internal
>>>> Default timezone =3D> America/Sao_Paulo
>>>>
>>>> Directive =3D> Local Value =3D> Master Value
>>>> date.default_latitude =3D> 31.7667 =3D> 31.7667
>>>> date.default_longitude =3D> 35.2333 =3D> 35.2333
>>>> date.sunrise_zenith =3D> 90.583333 =3D> 90.583333
>>>> date.sunset_zenith =3D> 90.583333 =3D> 90.583333
>>>> date.timezone =3D> no value =3D> no value
>>>>
>>>>
>>>> Thanks
>>>>
>>>>
>>>>
>>>
>>> Assuming you have a unix-like OS and the timezone you mention is set to
>>> the
>>> system clock I will have to guess that PHP uses different zone from the
>>> system.
>>>
>>> Try setting the date.timezone setting in your php.ini and see what
>>> happens
>>> (don't forget to restart the web server to make changes take effect) or
>>> use
>>> the ini_set().
>>>
>>> --
>>> Thodoris
>>>
>>>
>>>
>>
>>
>
> 1. It is possible that the php.ini files are different.
> 2. Run phpinfo() to check where the php.ini file your web server uses is
> located.
> 3. Check that the timezone settings are correct.
>
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
RE: Wrong Date
am 16.10.2009 19:39:27 von Bob McConnell
From: Joseph Masoud
> Darvin Denmian wrote:
>>
>> - I'm running Red Hat Linux (5.3)
>> - The system timezone is set to America/Sao_Paulo
>>
>> I'm running a stand-alone php script (crontab) , and I don't know how
PHP
>> output this wrong hour.
>>
>> The output of command "php -i " shows:
>>
>> Default timezone =3D> America/Sao_Paulo
>>
>> I don't know what to do :(
>>
>> On Fri, Oct 16, 2009 at 2:14 PM, Thodoris wrote:
>> =20
>>>> Hello,
>>>>
>>>> My currently timezone is set to : America/Sao_Paulo
>>>> My currently date/time is ok: Fri Oct 16 13:04:45 BRT 2009
>>>> But when I execute "echo date("d/m/Y H:i:s");" the output presented
>>>> have +1 hour
>>>>
>>>> Bellow [date] of php.ini:
>>>>
>>>> date
>>>>
>>>> date/time support =3D> enabled
>>>> "Olson" Timezone Database Version =3D> 2008.2
>>>> Timezone Database =3D> internal
>>>> Default timezone =3D> America/Sao_Paulo
>>>>
>>>> Directive =3D> Local Value =3D> Master Value
>>>> date.default_latitude =3D> 31.7667 =3D> 31.7667
>>>> date.default_longitude =3D> 35.2333 =3D> 35.2333
>>>> date.sunrise_zenith =3D> 90.583333 =3D> 90.583333
>>>> date.sunset_zenith =3D> 90.583333 =3D> 90.583333
>>>> date.timezone =3D> no value =3D> no value
>>>> =20
>>> Assuming you have a unix-like OS and the timezone you mention is set
to the
>>> system clock I will have to guess that PHP uses different zone from
the
>>> system.
>>>
>>> Try setting the date.timezone setting in your php.ini and see what
happens
>>> (don't forget to restart the web server to make changes take effect)
or use
>>> the ini_set().
>>>
>>
>> =20
> 1. It is possible that the php.ini files are different.
> 2. Run phpinfo() to check where the php.ini file your web server uses
is=20
> located.
> 3. Check that the timezone settings are correct.
>=20
The switch dates for some DST zones changed a couple of years ago. There
were patches available for many systems to update them. Here in the
Eastern USA we are now between the old and new end dates. Any chance you
missed a patch?
Bob McConnell
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Re: Wrong Date
am 16.10.2009 19:46:35 von Darvin Denmian
Bob,
unfortunately I don't know to answer your question.
Are you refering to upgrade the tzdata package?
The only thing I know is that time changed from 12:00 to 13:00 automaticaly=
....
Thanks for all replies!
On Fri, Oct 16, 2009 at 2:39 PM, Bob McConnell wrote:
> From: Joseph Masoud
>> Darvin Denmian wrote:
>>>
>>> - I'm running Red Hat Linux (5.3)
>>> - The system timezone is set to America/Sao_Paulo
>>>
>>> I'm running a stand-alone php script (crontab) , and I don't know how
> PHP
>>> output this wrong hour.
>>>
>>> The output of command "php -i " shows:
>>>
>>> Default timezone =3D> America/Sao_Paulo
>>>
>>> I don't know what to do =A0:(
>>>
>>> On Fri, Oct 16, 2009 at 2:14 PM, Thodoris wrote:
>>>
>>>>> Hello,
>>>>>
>>>>> My currently timezone is set to : America/Sao_Paulo
>>>>> My currently date/time is ok: Fri Oct 16 13:04:45 BRT 2009
>>>>> But when I execute "echo date("d/m/Y H:i:s");" the output presented
>>>>> have +1 hour
>>>>>
>>>>> Bellow [date] of php.ini:
>>>>>
>>>>> date
>>>>>
>>>>> date/time support =3D> enabled
>>>>> "Olson" Timezone Database Version =3D> 2008.2
>>>>> Timezone Database =3D> internal
>>>>> Default timezone =3D> America/Sao_Paulo
>>>>>
>>>>> Directive =3D> Local Value =3D> Master Value
>>>>> date.default_latitude =3D> 31.7667 =3D> 31.7667
>>>>> date.default_longitude =3D> 35.2333 =3D> 35.2333
>>>>> date.sunrise_zenith =3D> 90.583333 =3D> 90.583333
>>>>> date.sunset_zenith =3D> 90.583333 =3D> 90.583333
>>>>> date.timezone =3D> no value =3D> no value
>>>>>
>>>> Assuming you have a unix-like OS and the timezone you mention is set
> to the
>>>> system clock I will have to guess that PHP uses different zone from
> the
>>>> system.
>>>>
>>>> Try setting the date.timezone setting in your php.ini and see what
> happens
>>>> (don't forget to restart the web server to make changes take effect)
> or use
>>>> the ini_set().
>>>>
>>>
>>>
>> 1. It is possible that the php.ini files are different.
>> 2. Run phpinfo() to check where the php.ini file your web server uses
> is
>> located.
>> 3. Check that the timezone settings are correct.
>>
>
> The switch dates for some DST zones changed a couple of years ago. There
> were patches available for many systems to update them. Here in the
> Eastern USA we are now between the old and new end dates. Any chance you
> missed a patch?
>
> Bob McConnell
>
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
RE: Wrong Date
am 16.10.2009 20:09:01 von Bob McConnell
When you enter "date" on the bash command line, what do you get back?
When you run a php file with 'echo date('T')."\n";' does it show the =
same time zone and DST flag?
Which one is wrong?
Bob McConnell
-----Original Message-----
From: Darvin Denmian [mailto:darvin.denmian@gmail.com]=20
Sent: Friday, October 16, 2009 1:47 PM
Cc: php-general@lists.php.net
Subject: Re: [PHP] Wrong Date
Bob,
unfortunately I don't know to answer your question.
Are you refering to upgrade the tzdata package?
The only thing I know is that time changed from 12:00 to 13:00 =
automaticaly ....
Thanks for all replies!
On Fri, Oct 16, 2009 at 2:39 PM, Bob McConnell wrote:
> From: Joseph Masoud
>> Darvin Denmian wrote:
>>>
>>> - I'm running Red Hat Linux (5.3)
>>> - The system timezone is set to America/Sao_Paulo
>>>
>>> I'm running a stand-alone php script (crontab) , and I don't know =
how
> PHP
>>> output this wrong hour.
>>>
>>> The output of command "php -i " shows:
>>>
>>> Default timezone =3D> America/Sao_Paulo
>>>
>>> I don't know what to do =A0:(
>>>
>>> On Fri, Oct 16, 2009 at 2:14 PM, Thodoris wrote:
>>>
>>>>> Hello,
>>>>>
>>>>> My currently timezone is set to : America/Sao_Paulo
>>>>> My currently date/time is ok: Fri Oct 16 13:04:45 BRT 2009
>>>>> But when I execute "echo date("d/m/Y H:i:s");" the output =
presented
>>>>> have +1 hour
>>>>>
>>>>> Bellow [date] of php.ini:
>>>>>
>>>>> date
>>>>>
>>>>> date/time support =3D> enabled
>>>>> "Olson" Timezone Database Version =3D> 2008.2
>>>>> Timezone Database =3D> internal
>>>>> Default timezone =3D> America/Sao_Paulo
>>>>>
>>>>> Directive =3D> Local Value =3D> Master Value
>>>>> date.default_latitude =3D> 31.7667 =3D> 31.7667
>>>>> date.default_longitude =3D> 35.2333 =3D> 35.2333
>>>>> date.sunrise_zenith =3D> 90.583333 =3D> 90.583333
>>>>> date.sunset_zenith =3D> 90.583333 =3D> 90.583333
>>>>> date.timezone =3D> no value =3D> no value
>>>>>
>>>> Assuming you have a unix-like OS and the timezone you mention is =
set
> to the
>>>> system clock I will have to guess that PHP uses different zone from
> the
>>>> system.
>>>>
>>>> Try setting the date.timezone setting in your php.ini and see what
> happens
>>>> (don't forget to restart the web server to make changes take =
effect)
> or use
>>>> the ini_set().
>>>>
>>>
>>>
>> 1. It is possible that the php.ini files are different.
>> 2. Run phpinfo() to check where the php.ini file your web server uses
> is
>> located.
>> 3. Check that the timezone settings are correct.
>>
>
> The switch dates for some DST zones changed a couple of years ago. =
There
> were patches available for many systems to update them. Here in the
> Eastern USA we are now between the old and new end dates. Any chance =
you
> missed a patch?
>
> Bob McConnell
>
--=20
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Re: Wrong Date
am 16.10.2009 20:16:53 von Darvin Denmian
Bob,
bash:
Fri Oct 16 15:14:54 BRT 2009
php output:
BRST
Thanks
On Fri, Oct 16, 2009 at 3:09 PM, Bob McConnell wrote:
> When you enter "date" on the bash command line, what do you get back?
>
> When you run a php file with 'echo date('T')."\n";' does it show the same=
time zone and DST flag?
>
> Which one is wrong?
>
> Bob McConnell
>
> -----Original Message-----
> From: Darvin Denmian [mailto:darvin.denmian@gmail.com]
> Sent: Friday, October 16, 2009 1:47 PM
> Cc: php-general@lists.php.net
> Subject: Re: [PHP] Wrong Date
>
> Bob,
>
> unfortunately I don't know to answer your question.
>
> Are you refering to upgrade the tzdata package?
>
> The only thing I know is that time changed from 12:00 to 13:00 automatica=
ly ....
>
> Thanks for all replies!
>
>
> On Fri, Oct 16, 2009 at 2:39 PM, Bob McConnell wrote:
>> From: Joseph Masoud
>>> Darvin Denmian wrote:
>>>>
>>>> - I'm running Red Hat Linux (5.3)
>>>> - The system timezone is set to America/Sao_Paulo
>>>>
>>>> I'm running a stand-alone php script (crontab) , and I don't know how
>> PHP
>>>> output this wrong hour.
>>>>
>>>> The output of command "php -i " shows:
>>>>
>>>> Default timezone =3D> America/Sao_Paulo
>>>>
>>>> I don't know what to do =A0:(
>>>>
>>>> On Fri, Oct 16, 2009 at 2:14 PM, Thodoris wrote:
>>>>
>>>>>> Hello,
>>>>>>
>>>>>> My currently timezone is set to : America/Sao_Paulo
>>>>>> My currently date/time is ok: Fri Oct 16 13:04:45 BRT 2009
>>>>>> But when I execute "echo date("d/m/Y H:i:s");" the output presented
>>>>>> have +1 hour
>>>>>>
>>>>>> Bellow [date] of php.ini:
>>>>>>
>>>>>> date
>>>>>>
>>>>>> date/time support =3D> enabled
>>>>>> "Olson" Timezone Database Version =3D> 2008.2
>>>>>> Timezone Database =3D> internal
>>>>>> Default timezone =3D> America/Sao_Paulo
>>>>>>
>>>>>> Directive =3D> Local Value =3D> Master Value
>>>>>> date.default_latitude =3D> 31.7667 =3D> 31.7667
>>>>>> date.default_longitude =3D> 35.2333 =3D> 35.2333
>>>>>> date.sunrise_zenith =3D> 90.583333 =3D> 90.583333
>>>>>> date.sunset_zenith =3D> 90.583333 =3D> 90.583333
>>>>>> date.timezone =3D> no value =3D> no value
>>>>>>
>>>>> Assuming you have a unix-like OS and the timezone you mention is set
>> to the
>>>>> system clock I will have to guess that PHP uses different zone from
>> the
>>>>> system.
>>>>>
>>>>> Try setting the date.timezone setting in your php.ini and see what
>> happens
>>>>> (don't forget to restart the web server to make changes take effect)
>> or use
>>>>> the ini_set().
>>>>>
>>>>
>>>>
>>> 1. It is possible that the php.ini files are different.
>>> 2. Run phpinfo() to check where the php.ini file your web server uses
>> is
>>> located.
>>> 3. Check that the timezone settings are correct.
>>>
>>
>> The switch dates for some DST zones changed a couple of years ago. There
>> were patches available for many systems to update them. Here in the
>> Eastern USA we are now between the old and new end dates. Any chance you
>> missed a patch?
>>
>> Bob McConnell
>>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
RE: Wrong Date
am 16.10.2009 20:25:10 von Bob McConnell
So it looks like RedHat is on standard time, while PHP is still DST. =
Which one is correct? You need to update the time zone database on the =
other.
Bob McConnell
-----Original Message-----
From: Darvin Denmian [mailto:darvin.denmian@gmail.com]=20
Sent: Friday, October 16, 2009 2:17 PM
Cc: php-general@lists.php.net
Subject: Re: [PHP] Wrong Date
Bob,
bash:
Fri Oct 16 15:14:54 BRT 2009
php output:
BRST
Thanks
On Fri, Oct 16, 2009 at 3:09 PM, Bob McConnell wrote:
> When you enter "date" on the bash command line, what do you get back?
>
> When you run a php file with 'echo date('T')."\n";' does it show the =
same time zone and DST flag?
>
> Which one is wrong?
>
> Bob McConnell
>
> -----Original Message-----
> From: Darvin Denmian [mailto:darvin.denmian@gmail.com]
> Sent: Friday, October 16, 2009 1:47 PM
> Cc: php-general@lists.php.net
> Subject: Re: [PHP] Wrong Date
>
> Bob,
>
> unfortunately I don't know to answer your question.
>
> Are you refering to upgrade the tzdata package?
>
> The only thing I know is that time changed from 12:00 to 13:00 =
automaticaly ....
>
> Thanks for all replies!
>
>
> On Fri, Oct 16, 2009 at 2:39 PM, Bob McConnell wrote:
>> From: Joseph Masoud
>>> Darvin Denmian wrote:
>>>>
>>>> - I'm running Red Hat Linux (5.3)
>>>> - The system timezone is set to America/Sao_Paulo
>>>>
>>>> I'm running a stand-alone php script (crontab) , and I don't know =
how
>> PHP
>>>> output this wrong hour.
>>>>
>>>> The output of command "php -i " shows:
>>>>
>>>> Default timezone =3D> America/Sao_Paulo
>>>>
>>>> I don't know what to do =A0:(
>>>>
>>>> On Fri, Oct 16, 2009 at 2:14 PM, Thodoris wrote:
>>>>
>>>>>> Hello,
>>>>>>
>>>>>> My currently timezone is set to : America/Sao_Paulo
>>>>>> My currently date/time is ok: Fri Oct 16 13:04:45 BRT 2009
>>>>>> But when I execute "echo date("d/m/Y H:i:s");" the output =
presented
>>>>>> have +1 hour
>>>>>>
>>>>>> Bellow [date] of php.ini:
>>>>>>
>>>>>> date
>>>>>>
>>>>>> date/time support =3D> enabled
>>>>>> "Olson" Timezone Database Version =3D> 2008.2
>>>>>> Timezone Database =3D> internal
>>>>>> Default timezone =3D> America/Sao_Paulo
>>>>>>
>>>>>> Directive =3D> Local Value =3D> Master Value
>>>>>> date.default_latitude =3D> 31.7667 =3D> 31.7667
>>>>>> date.default_longitude =3D> 35.2333 =3D> 35.2333
>>>>>> date.sunrise_zenith =3D> 90.583333 =3D> 90.583333
>>>>>> date.sunset_zenith =3D> 90.583333 =3D> 90.583333
>>>>>> date.timezone =3D> no value =3D> no value
>>>>>>
>>>>> Assuming you have a unix-like OS and the timezone you mention is =
set
>> to the
>>>>> system clock I will have to guess that PHP uses different zone =
from
>> the
>>>>> system.
>>>>>
>>>>> Try setting the date.timezone setting in your php.ini and see what
>> happens
>>>>> (don't forget to restart the web server to make changes take =
effect)
>> or use
>>>>> the ini_set().
>>>>>
>>>>
>>>>
>>> 1. It is possible that the php.ini files are different.
>>> 2. Run phpinfo() to check where the php.ini file your web server =
uses
>> is
>>> located.
>>> 3. Check that the timezone settings are correct.
>>>
>>
>> The switch dates for some DST zones changed a couple of years ago. =
There
>> were patches available for many systems to update them. Here in the
>> Eastern USA we are now between the old and new end dates. Any chance =
you
>> missed a patch?
>>
>> Bob McConnell
>>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>
--=20
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php