Re: Small Error

From: Date: Thu, 27 Dec 2007 00:22:18 +0000
Subject: Re: Small Error
References: 1  Groups: php.doc 
Request: Send a blank email to phpdoc+get-969378484@lists.php.net to get a copy of this message
Hi Daniel On Dec 3, 2007 8:45 PM, Daniel Brown <parasane@gmail.com> wrote: > Hey, guys and gals, just a quick fix that should be done, if > anyone is working on the area. > > On the date functions page of the website > (http://us3.php.net/manual/en/function.date.php) in example #1, this > should be changed: > > // Prints something like: Monday 15th of August 2005 03:12:46 PM > echo date('l dS \of F Y h:i:s A'); > > To this: > > // Prints something like: Monday 15th of August 2005 03:12:46 PM > echo date("l jS \of F Y h:i:s A'); > > Otherwise, if the day is less than 10, such as today, date("d") > will display "Monday 03rd of December 2007...." Looks like Richard already fixed it. Thanks for the heads up :) -Hannes

« previous php.doc (#969378484) next »