Re: Bug #2292 Updated: CHECKDATE function: a little problem.
| From: | Angelo CONFLITTI | Date: | Wed, 15 Sep 1999 10:34:04 +0000 |
| Subject: | Re: Bug #2292 Updated: CHECKDATE function: a little problem. | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-10939@lists.php.net to get a copy of this message | ||
--- Bug Database wrote:
> ID: 2292
> Updated by: riffraff
> Reported By: mvca@yahoo.com
> Status: Open
> Bug Type: Other
> Assigned To:
> Comments:
>
> 09 is an invalid number, since the zero in the
> beginning means that the rest is an octal number > (base 8).
> Since "9" is invalid number in octal, it results in
> numeric value 0.
> 2/0/1999 is surely an invalid date.
...but in the CHECKDATE function the values must be decimal (base 10) and not octal (base 8).
All the values from 01 to 07 and from 10 to 30/31 are good only the values 08 and 09 aren't
good, if I remove the zero before the 8 and the 9 the function work correctly.
Thanks.
Angelo CONFLITTI.
>
> Full Bug description available at:
> http://bugs.php.net/?id=2292
>
>
Do You Yahoo!?Bid and sell for free at Yahoo! Auctions.