#21692 [Opn]: Gmtime first argument doesn't support vars

From: Date: Thu, 16 Jan 2003 19:24:09 +0000
Subject: #21692 [Opn]: Gmtime first argument doesn't support vars
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-30282@lists.php.net to get a copy of this message
ID: 21692 Updated by: derick@php.net Reported By: alex@gameone.nl Status: Open Bug Type: Date/time related Operating System: Win2k PHP Version: 4.3.0 New Comment: both show "Thu 01 Jan, 20:23" for me... Derick Previous Comments: ------------------------------------------------------------------------ [2003-01-16 13:22:02] alex@gameone.nl gmtime sometimes doesn't support the first argument to be an var. Example: <?php $var = "D m M, G:i"; // Plus 3600 for Dutch-time print gmdate($var, time() + 3600); ?> Gives at this moment: Thu 01 Jan, 20:17 -------------------------------- <?php // Plus 3600 for Dutch-time print gmdate("D m M, G:i", time() + 3600); ?> Gives: Thu 16 Jan, 20:17 ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=21692&edit=1

« previous php.bugs (#30282) next »