cvs: phpdoc(REF_STRUCT_DEV) /en/reference/datetime/functions date.xml
| From: | Richard Quadling | Date: | Tue, 04 Dec 2007 09:40:56 +0000 |
| Subject: | cvs: phpdoc(REF_STRUCT_DEV) /en/reference/datetime/functions date.xml | ||
| Groups: | php.doc.cvs | ||
| Request: | Send a blank email to doc-cvs+get-524@lists.php.net to get a copy of this message | ||
rquadling Tue Dec 4 09:40:56 2007 UTC
Modified files: (Branch: REF_STRUCT_DEV)
/phpdoc/en/reference/datetime/functions date.xml
Log:
Example altered to not show leading zero.
http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/datetime/functions/date.xml?r1=1.40.2.1&r2=1.40.2.2&diff_format=u
Index: phpdoc/en/reference/datetime/functions/date.xml
diff -u phpdoc/en/reference/datetime/functions/date.xml:1.40.2.1
phpdoc/en/reference/datetime/functions/date.xml:1.40.2.2
--- phpdoc/en/reference/datetime/functions/date.xml:1.40.2.1 Sat Oct 13 19:48:11 2007
+++ phpdoc/en/reference/datetime/functions/date.xml Tue Dec 4 09:40:56 2007
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.40.2.1 $ -->
+<!-- $Revision: 1.40.2.2 $ -->
<refentry xml:id="function.date" xmlns="http://docbook.org/ns/docbook"
xmlns:xlink="http://www.w3.org/1999/xlink">
<refnamediv>
<refname>date</refname>
@@ -369,8 +369,8 @@
// Prints something like: Monday
echo date("l");
-// Prints something like: Monday 15th of August 2005 03:12:46 PM
-echo date('l dS \of F Y h:i:s A');
+// Prints something like: Monday 8th of August 2005 03:12:46 PM
+echo date('l jS \of F Y h:i:s A');
// Prints: July 1, 2000 is on a Saturday
echo "July 1, 2000 is on a " . date("l", mktime(0, 0, 0, 7, 1, 2000));