Yasuo Ohgaki <[EMAIL PROTECTED]> wrote:
> Chris Newbill wrote:
>> Ehh...from manual
>> 
>> n - month without leading zeros; i.e. "1" to "12"
>> 
>> So yeah it would print 2th.  Cause today is the 10"th".
> 
> The format does not make sense much, though.

sure it does. the 'bug' reporter had a bogus date format.

>>>>$date = date("H:i D, nS M Y",$buffer['Last_access']);

'nS' means 'month'.'daysuffix'.

(so on february 10, you would get '2th'.)

they really wanted 'jS'.

the documentation wasn't clear that 'S' pertained to the
day of the month. i've checked in a clarification.

jim

-- 
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to