Small Error
| From: | Daniel Brown | Date: | Mon, 03 Dec 2007 19:45:06 +0000 |
| Subject: | Small Error | ||
| Groups: | php.doc | ||
| Request: | Send a blank email to phpdoc+get-969378438@lists.php.net to get a copy of this message | ||
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...."
--
Daniel P. Brown
[office] (570-) 587-7080 Ext. 272
[mobile] (570-) 766-8107
If at first you don't succeed, stick to what you know best so that you
can make enough money to pay someone else to do it for you.