[PHP] possible bug in date() function

2002-02-10 Thread LaserJetter

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




-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




Re: [PHP] possible bug in date() function

2002-02-10 Thread Edward van Bilderbeek - Bean IT

it was last week though...

guesss you mean 29th?

Edward

LaserJetter [EMAIL PROTECTED] wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
 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




 --
 PHP General Mailing List (http://www.php.net/)
 To unsubscribe, visit: http://www.php.net/unsub.php



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php