php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Doc Bug #1016 function checkdate() doc incorrectly describes action for years < 100
Submitted: 1998-12-30 06:34 UTC Modified: 1999-01-18 07:54 UTC
From: douw at vis dot co dot za Assigned:
Status: Closed Package: Documentation problem
PHP Version: 3.0.6 OS: All
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: douw at vis dot co dot za
New email:
PHP Version: OS:

 

 [1998-12-30 06:34 UTC] douw at vis dot co dot za
The checkdate() documentation , function.checkdate.html,  states that a date is considered valid if the year is between 1900 and 32767 inclusive. However, if the year < 100, then it is incremented by 1900 before being tested. So years in the range [-1900,99] are considered valid.

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [1999-01-18 07:54 UTC] rasmus
Fixed in CVS
 
PHP Copyright © 2001-2026 The PHP Group
All rights reserved.
Last updated: Wed Jun 17 07:00:02 2026 UTC