Bug #8162: date("n",$timestamp)
| From: | otto at bit dot nl | Date: | Fri, 08 Dec 2000 09:25:13 +0000 |
| Subject: | Bug #8162: date("n",$timestamp) | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-40538@lists.php.net to get a copy of this message | ||
From: otto@bit.nl
Operating system: Apache/1.3.4 (Unix) PHP/3.0.7
PHP version: Earlier? Upgrade first!
PHP Bug Type: Scripting Engine problem
Bug description: date("n",$timestamp)
Hi!
$month = date("m",$date);
works fine
$month = date("n",$date);
returns 'n' !
Installed PHP 3.07, couldnt find it on bugs.php.net.
http://nl.php.net/manual/function.date.php3
Doesnt say it was fixed in a later version.
Greetings,
Otto