#20960 [NEW]: Checkdate very illogical
| From: | john at boxrec dot com | Date: | Thu, 12 Dec 2002 15:43:22 +0000 |
| Subject: | #20960 [NEW]: Checkdate very illogical | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-27491@lists.php.net to get a copy of this message | ||
From: john@boxrec.com
Operating system: Linux
PHP version: 4.2.3
PHP Bug Type: Feature/Change Request
Bug description: Checkdate very illogical
I' ve just spent several wasted hours looking for a blindingly obvious
problem. Checkdate takes it's params in a very illogical way ie
checkdate ( int month, int day, int year)
Surely it should be
checkdate ( int day, int month, int year)
or even
checkdate ( int year, int month, int day)
why on earth month day year ?
--
Edit bug report at http://bugs.php.net/?id=20960&edit=1
--
Try a CVS snapshot: http://bugs.php.net/fix.php?id=20960&r=trysnapshot
Fixed in CVS: http://bugs.php.net/fix.php?id=20960&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=20960&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=20960&r=needtrace
Try newer version: http://bugs.php.net/fix.php?id=20960&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=20960&r=support
Expected behavior: http://bugs.php.net/fix.php?id=20960&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=20960&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=20960&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=20960&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=20960&r=php3
Daylight Savings: http://bugs.php.net/fix.php?id=20960&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=20960&r=isapi