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

Patches

Add a Patch

Pull Requests

Add a Pull Request

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: Wed May 29 02:01:30 2024 UTC