cvs: phpdoc /en/reference/datetime/functions date.xml

From: Date: Tue, 04 Dec 2007 09:39:57 +0000
Subject: cvs: phpdoc /en/reference/datetime/functions date.xml
Groups: php.doc.cvs 
Request: Send a blank email to doc-cvs+get-523@lists.php.net to get a copy of this message
rquadling Tue Dec 4 09:39:57 2007 UTC Modified files: /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.41&r2=1.42&diff_format=u Index: phpdoc/en/reference/datetime/functions/date.xml diff -u phpdoc/en/reference/datetime/functions/date.xml:1.41 phpdoc/en/reference/datetime/functions/date.xml:1.42 --- phpdoc/en/reference/datetime/functions/date.xml:1.41 Sat Oct 13 13:06:37 2007 +++ phpdoc/en/reference/datetime/functions/date.xml Tue Dec 4 09:39:57 2007 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.41 $ --> +<!-- $Revision: 1.42 $ --> <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));

« previous php.doc.cvs (#523) next »