php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #20191 Problems with mktime returns -1 value on some specific dates
Submitted: 2002-10-31 08:55 UTC Modified: 2002-11-16 01:12 UTC
Votes:2
Avg. Score:3.0 ± 0.0
Reproduced:2 of 2 (100.0%)
Same Version:0 (0.0%)
Same OS:0 (0.0%)
From: lobao at varginha dot com dot br Assigned:
Status: No Feedback Package: Date/time related
PHP Version: 4.2.2 OS: FreeBSD 4.5-RELEASE #3
Private report: No CVE-ID: None
View Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
If you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: lobao at varginha dot com dot br
New email:
PHP Version: OS:

 

 [2002-10-31 08:55 UTC] lobao at varginha dot com dot br
echo mktime(0,0,0,10,33,2002); // returns 1036206000
echo mktime(0,0,0,10,34,2002); // returns -1
echo mktime(0,0,0,10,35,2002); // returns 1036375200


bug or what?????


the correct return for 
echo mktime(0,0,0,10,34,2002);
is
1036290600
and not -1 !

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2002-10-31 09:25 UTC] iliaa@php.net
Please try using this CVS snapshot:

  http://snaps.php.net/php4-latest.tar.gz
 
For Windows:
 
  http://snaps.php.net/win32/php4-win32-latest.zip


 [2002-11-16 01:12 UTC] sniper@php.net
No feedback was provided. The bug is being suspended because
we assume that you are no longer experiencing the problem.
If this is not the case and you are able to provide the
information that was requested earlier, please do so and
change the status of the bug back to "Open". Thank you.


 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sun Dec 22 06:01:30 2024 UTC