|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #13784 checkdate(10,31,0) returns false
Submitted: 2001-10-22 03:27 UTC Modified: 2001-10-23 14:09 UTC
From: mike at kristopeit dot com Assigned:
Status: Not a bug Package: Date/time related
PHP Version: 4.0.6 OS: windows 2000 pro
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
Block user comment
Status: Assign to:
Bug Type:
From: mike at kristopeit dot com
New email:
PHP Version: OS:


 [2001-10-22 03:27 UTC] mike at kristopeit dot com
the manual says year can be 0-32767, but giving 0 makes checkdate return false.


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2001-10-23 06:15 UTC]
I wonder what manual you're referring to as this page
clearly says that that is not possible:


 [2001-10-23 14:09 UTC] mike at kristopeit dot com
the one at

i would like it to work this way, because many calendar applications have yearly reoccuring events, and it would be nice to have checkdate(month, day, 0) return true if the date could ever be valid (ie checkdate(2,29,0) returns true)

PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sat Apr 13 17:01:30 2024 UTC