Bug #15291 Updated: date() function time return problem

From: Date: Sun, 24 Mar 2002 05:00:03 +0000
Subject: Bug #15291 Updated: date() function time return problem
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-3222@lists.php.net to get a copy of this message
ID: 15291 Updated by: php-bugs@lists.php.net Reported By: omid@oztell.com -Status: Feedback +Status: No Feedback Bug Type: Date/time related Operating System: Debian PHP Version: 4.1.1 New Comment: No feedback was provided for this bug for over a month, so it is being suspended automatically. If you are able to provide the information that was originally requested, please do so and change the status of the bug back to "Open". Previous Comments: ------------------------------------------------------------------------ [2002-01-30 14:51:05] sander@php.net status -> feedback ------------------------------------------------------------------------ [2002-01-30 02:37:27] torben@php.net 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] omid@oztell.com I get the same result for the following: <? echo date("r"); echo gmdate("r"); ?> ------------------------------------------------------------------------ [2002-01-30 02:08:57] torben@php.net Reopening; this should be set to 'Feedback' until the user confirms that the proposed fix actually works. Torben ------------------------------------------------------------------------ [2002-01-30 01:54:38] swm@php.net 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 ------------------------------------------------------------------------ The remainder of the comments for this report are too long. To view the rest of the comments, please view the bug report online at http://bugs.php.net/15291 -- Edit this bug report at http://bugs.php.net/?id=15291&edit=1

« previous php.bugs (#3222) next »