[PHP-DOC] cvs: phpdoc /en/functions datetime.xml From: Damien Seguy (dams <email protected>)
Date: 04/17/01

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>