Re: Bug #12253: typo error on documentation page for date() function?

From: Date: Thu, 19 Jul 2001 17:20:15 +0000
Subject: Re: Bug #12253: typo error on documentation page for date() function?
References: 1  Groups: php.mirrors 
Request: Send a blank email to php-mirrors+get-5624@lists.php.net to get a copy of this message
On Thu, Jul 19, 2001 at 01:59:32PM -0000, aldeba@innocent.com wrote: > > *** Quote*** > > /* Today is March 10th, 2001, 5:16:18 pm */ > > $today = date("F j, Y, g:i a"); // March 10, 2001, 5:16 > > pm > > $today = date("m.d.y"); // 03.10.01 > > $today = date("j, g, Y"); // 10, 3, 2001 > the third subexample should be > $today = date("j, m, Y"); ???? First notice, that in the thirth example the month has NO leading zero. But your right, 'g' must be 'n'. for a complete list of the characters see http://www.php.net/manual/en/function.date.php With best regards, Dave Mertens.

« previous php.mirrors (#5624) next »