-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
' does it show the same
> time zone and DST flag?
>
> Which one is wrong?
>
> Bob McConnell
>
> -Original Message-
> From: Darvin Denmian [mailto:darvin.denm...@gmail.com]
> Sent: Friday, October 16, 2009 1:47 PM
> Cc: php-general@lists.php.net
> Su
[mailto:darvin.denm...@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:
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
>> Dar
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:
>>
>> Defa
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 wrote:
> Darvin Denmian wrote:
>>
>> Thanks for your reply
>>
>> - I'm running Red Hat Linux (5.3)
>> - The system timezone is set to
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 => Amer
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 k
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
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 =>
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 =>
Hi!
Someone knows why is this returning 1969-12-31 ???
$day = 13;
$month = 10;
$year = 2002;
echo date("Y-m-d",mktime (0,0,0,$month,$day,$year));
And MySQL also does the same when I insert '2002-10-13' in a date field!!!
::: R o d r i g o M e u r e r
[EMAIL PROTECTED]
B a s e 5 1 - W
12 matches
Mail list logo