|  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
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
Have you experienced this issue?
Rate the importance of this bug to you:

 [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);
and not -1 !


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2002-10-31 09:25 UTC]
Please try using this CVS snapshot:
For Windows:

 [2002-11-16 01:12 UTC]
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-2021 The PHP Group
All rights reserved.
Last updated: Wed Sep 22 06:23:17 2021 UTC