note 16453 added to function.gmdate

From: Date: Wed, 31 Oct 2001 11:40:16 +0000
Subject: note 16453 added to function.gmdate
Groups: php.notes 
Request: Send a blank email to php-notes+get-19700@lists.php.net to get a copy of this message
The 'r' format string doesn't work as expected: print(date("r", 1)); Prints: "Thu, 1 Jan 1970 01:00:01 +0100" print(gmdate("r",1)); Prints: "Thu, 1 Jan 1970 00:00:01 +0100" Notice the '+0100' that should've been 'GMT'. -- http://www.php.net/manual/en/function.gmdate.php http://master.php.net/manage/user-notes.php?action=edit+16453 http://master.php.net/manage/user-notes.php?action=delete+16453 http://master.php.net/manage/user-notes.php?action=reject+16453

« previous php.notes (#19700) next »