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
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: stk at gmx dot ch
New email:
PHP Version: OS:

 

 [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

Pull Requests

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-2026 The PHP Group
All rights reserved.
Last updated: Fri Oct 09 01:00:01 2026 UTC