Bug #14440 Updated: Wrong calculation of timestamp

From: Date: Wed, 12 Dec 2001 00:27:30 +0000
Subject: Bug #14440 Updated: Wrong calculation of timestamp
References: 1  Groups: php.dev 
Request: Send a blank email to php-dev+get-73194@lists.php.net to get a copy of this message
ID: 14440 Updated by: cg Reported By: clemens@gutweiler.net Status: Open Old Bug Type: *Data Exchange functions Bug Type: Date/time related Operating System: Linux 2.4.16 PHP Version: 4.1.0 New Comment: too late ;) Previous Comments: ------------------------------------------------------------------------ [2001-12-11 19:26:29] cg@php.net Assigned Type ------------------------------------------------------------------------ [2001-12-11 18:40:07] clemens@gutweiler.net strtotime() returns an wrong timestamp from the date-string: echo date( 'd.m.Y H:i:s', strtotime( 'Tue, 11 Dec 2001 23:38:06 +0100' ) ); return "07.12.2001 20:38:06" under 4.1.0.., 4.0.6 return "11.12.2001 23:38:06" ------------------------------------------------------------------------ Edit this bug report at http://bugs.php.net/?id=14440&edit=1

« previous php.dev (#73194) next »