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
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: 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-2024 The PHP Group
All rights reserved.
Last updated: Fri Nov 01 03:01:28 2024 UTC