Bug #13784 Updated: checkdate(10,31,0) returns false

From: Date: Tue, 23 Oct 2001 18:09:38 +0000
Subject: Bug #13784 Updated: checkdate(10,31,0) returns false
References: 1  Groups: php.dev 
Request: Send a blank email to php-dev+get-68860@lists.php.net to get a copy of this message
ID: 13784 User updated by: mike@kristopeit.com Reported By: mike@kristopeit.com Status: Bogus Bug Type: Date/time related Operating System: windows 2000 pro PHP Version: 4.0.6 New Comment: the one at phpbuilder.com http://www.phpbuilder.com/manual/function.checkdate.php 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) Previous Comments: ------------------------------------------------------------------------ [2001-10-23 06:15:10] sniper@php.net I wonder what manual you're referring to as this page clearly says that that is not possible: http://www.php.net/manual/en/function.checkdate.php --Jani ------------------------------------------------------------------------ [2001-10-22 03:27:07] mike@kristopeit.com the manual says year can be 0-32767, but giving 0 makes checkdate return false. ------------------------------------------------------------------------ Edit this bug report at http://bugs.php.net/?id=13784&edit=1

« previous php.dev (#68860) next »