Bug #15291 Updated: date() function time return problem
| From: | swm@php.net | Date: | Wed, 30 Jan 2002 06:54:38 +0000 |
| Subject: | Bug #15291 Updated: date() function time return problem | ||
| References: | 1 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-78502@lists.php.net to get a copy of this message | ||
ID: 15291
Updated by: swm
Reported By: omid@oztell.com
Old Status: Open
Status: Closed
Bug Type: Date/time related
Operating System: Debian
PHP Version: 4.1.1
New Comment:
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
Previous Comments:
------------------------------------------------------------------------
[2002-01-30 01:38:12] omid@oztell.com
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