ID: 15291
Updated by: sander
Reported By: [EMAIL PROTECTED]
Old Status: Open
Status: Feedback
Bug Type: Date/time related
Operating System: Debian
PHP Version: 4.1.1
New Comment:
status -> feedback
Previous Comments:
------------------------------------------------------------------------
[2002-01-30 02:37:27] [EMAIL PROTECTED]
What do you get from doing the following at a command prompt?
% echo $TZ
% date
% TZ=GMT date
Torben
------------------------------------------------------------------------
[2002-01-30 02:20:06] [EMAIL PROTECTED]
I get the same result for the following:
<?
echo date("r");
echo gmdate("r");
?>
------------------------------------------------------------------------
[2002-01-30 02:08:57] [EMAIL PROTECTED]
Reopening; this should be set to 'Feedback' until the user
confirms that the proposed fix actually works.
Torben
------------------------------------------------------------------------
[2002-01-30 01:54:38] [EMAIL PROTECTED]
I cannot replicate this. I think your timezone settings may
be incorrect
[swm@l php-4.1.1]$ ./php
<?
echo date('H');
?>
17[swm@l php-4.1.1]# date
Wed Jan 30 17:51:27 EST 2002
[swm@l php-4.1.1]$ TZ=GMT ./php
<?
echo date('H');
?>
06[swm@l php-4.1.1]$
gavin
------------------------------------------------------------------------
[2002-01-30 01:38:12] [EMAIL PROTECTED]
The date() function is returning the value as GMT time.
i.e this function and gmdate() produce the same result as
of php 4.1.1. This was o.k in previous versions
------------------------------------------------------------------------
Edit this bug report at http://bugs.php.net/?id=15291&edit=1
--
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]