Bug #18434 Updated: Wrong date returned by gmdate() for `U`format

From: Date: Fri, 19 Jul 2002 12:15:59 +0000
Subject: Bug #18434 Updated: Wrong date returned by gmdate() for `U`format
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-14625@lists.php.net to get a copy of this message
ID: 18434 Updated by: sitnikov@infonet.ee Reported By: sitnikov@infonet.ee -Status: Bogus +Status: Open Bug Type: Date/time related Operating System: Linux PHP Version: 4.2.1 New Comment: Timestamp for GTM & +3 zone equal, but h:m:s format have different value Previous Comments: ------------------------------------------------------------------------ [2002-07-19 08:10:30] markonen@php.net I see nothing wrong. ------------------------------------------------------------------------ [2002-07-19 08:03:58] sitnikov@infonet.ee <? echo gmdate ('H:i:s U (O,Z)'); echo "<br>\n"; echo date ('H:i:s U (O,Z)'); ?> Output: 12:01:21 1027080081 (+0000,0) 15:01:21 1027080081 (+0300,10800) ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=18434&edit=1

« previous php.bugs (#14625) next »