|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #14440 Wrong calculation of timestamp
Submitted: 2001-12-11 18:40 UTC Modified: 2001-12-13 07:19 UTC
From: clemens at gutweiler dot net Assigned:
Status: Closed Package: Date/time related
PHP Version: 4.1.0 OS: Linux 2.4.16
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
Block user comment
Status: Assign to:
Bug Type:
From: clemens at gutweiler dot net
New email:
PHP Version: OS:


 [2001-12-11 18:40 UTC] clemens at gutweiler dot 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"


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2001-12-11 19:26 UTC]
Assigned Type
 [2001-12-11 19:27 UTC]
too late ;)
 [2001-12-12 02:41 UTC]
I can reproduce this with php 4.1.0, but not with php 4.2.0 (Dev version). Can you verify that by using a snapshot from

 [2001-12-12 03:06 UTC] clemens at gutweiler dot net
It's the stable 4.1.0 Release, not an Dev-Version

 [2001-12-12 11:42 UTC]
Can't reproduce with latest CVS. Fixed -> closed.

 [2001-12-13 07:19 UTC]
It's now fixed in the 4.1.0 branch, it may be included in a 4.1.1 release.

PHP Copyright © 2001-2023 The PHP Group
All rights reserved.
Last updated: Tue May 30 12:03:39 2023 UTC