Hi,
Here is the diff for the finished modifications to en/reference/datetime/functions/localtime.xml. This includes an added note from 2 of the comments added to the current entry and an example (it doesn't already have one). It has been validated.
David
? localtime.xml.diff Index: localtime.xml =================================================================== RCS file: /repository/phpdoc/en/reference/datetime/functions/localtime.xml,v retrieving revision 1.3 diff -u -r1.3 localtime.xml --- localtime.xml 29 Mar 2003 15:15:45 -0000 1.3 +++ localtime.xml 3 Apr 2005 18:43:22 -0000 @@ -79,6 +79,56 @@ </listitem> </itemizedlist> </para> + <note> + <simpara> + Months are from 0 (Jan) to 11 (Dec) and days of the week are from 0 (Sun) to 6 (Sat). + </simpara> + </note> + <para> + <example> + <title><function>time</function> example</title> + <programlisting role="php"> +<![CDATA[ +<?php +$localtime = localtime(); +$localtime_assoc = localtime(time(), 1); +print_r($localtime); +print_r($localtime_assoc); +?> +]]> + </programlisting> + &example.outputs.similar; + <screen> +<![CDATA[ +Array +( + [0] => 24 + [1] => 3 + [2] => 19 + [3] => 3 + [4] => 3 + [5] => 105 + [6] => 0 + [7] => 92 + [9] => 1 +) + +Array +( + [tm_sec] => 24 + [tm_min] => 3 + [tm_hour] => 19 + [tm_mday] => 3 + [tm_mon] => 3 + [tm_year] => 105 + [tm_wday] => 0 + [tm_yday] => 92 + [tm_isdst] => 1 +) +]]> + </screen> + </example> + </para> </refsect1> </refentry>