cvs: phpdoc /en/functions datetime.xml
| From: | Damien Seguy | Date: | Tue, 17 Apr 2001 15:03:11 +0000 |
| Subject: | cvs: phpdoc /en/functions datetime.xml | ||
| Groups: | php.doc | ||
| Request: | Send a blank email to phpdoc+get-969335025@lists.php.net to get a copy of this message | ||
dams Tue Apr 17 08:03:11 2001 EDT
Modified files:
/phpdoc/en/functions datetime.xml
Log:
turned constant into '' months -> 'months'
Index: phpdoc/en/functions/datetime.xml
diff -u phpdoc/en/functions/datetime.xml:1.36 phpdoc/en/functions/datetime.xml:1.37
--- phpdoc/en/functions/datetime.xml:1.36 Fri Apr 6 22:30:19 2001
+++ phpdoc/en/functions/datetime.xml Tue Apr 17 08:03:11 2001
@@ -367,9 +367,9 @@
</title>
<programlisting>
$today = getdate();
-$month = $today[month];
-$mday = $today[mday];
-$year = $today[year];
+$month = $today['month'];
+$mday = $today['mday'];
+$year = $today['year'];
echo "$month $mday, $year";
</programlisting>
</example>