FWD: possible bug in date() function

From: Date: Sun, 10 Feb 2002 19:47:08 +0000
Subject: FWD: possible bug in date() function
References: 1 2  Groups: php.dev 
Request: Send a blank email to php-dev+get-79914@lists.php.net to get a copy of this message
From php-general. "2th" of Feb. is odd, isn't? Someone may want to take a look at it. -- Yasuo Ohgaki Laserjetter wrote:
I've just realised that the suffix for the day of the month is correct for today (1013336429) but it isn't the 2nd today and my clock is set right. Anyone got any ideas? "Laserjetter" <newsaddress@saracenvsu.org.uk> wrote in message news:20020210102800.60537.qmail@pb1.pair.com...
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


« previous php.dev (#79914) next »