possible bug in date() function
| From: | LaserJetter | Date: | Sun, 10 Feb 2002 10:26:34 +0000 |
| Subject: | possible bug in date() function | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-84160@lists.php.net to get a copy of this message | ||
Using the code below:
$buffer['Last_access'] = 1013336429;
$date = date("H:i D, nS M Y",$buffer['Last_access']);
print $date;
prints "10:20 Sun, 2th Feb 2002"
I didnt know there was a 2th of February!!
Is this a bug and do I get a prize for finding it? ;o)
LJ