php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #3505 mktime returns error value (-1) for year values of 00 to 69
Submitted: 2000-02-16 17:20 UTC Modified: 2000-07-26 16:03 UTC
From: stk at gmx dot ch Assigned:
Status: Closed Package: Other
PHP Version: 3.0.14 OS: Win NT SP 5
Private report: No CVE-ID: None
View Add Comment Developer Edit
Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know!
Just going to say 'Me too!'? Don't clutter the database with that please !
Your email address:
MUST BE VALID
Solve the problem:
47 - 45 = ?
Subscribe to this entry?

 
 [2000-02-16 17:20 UTC] stk at gmx dot ch
I use the orginal compiled release 3.0.14 for WinNT 4.
The function mktime works with the year values 2000 and higher correctly. But in the 2-digit-format (00 to 69) the function returns an error value (-1).

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2000-07-26 16:03 UTC] hholzgra@php.net
has been fixed for 3.0.15 or .16
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Wed May 15 18:01:34 2024 UTC