[prev in list] [next in list] [prev in thread] [next in thread] 

List:       php-doc-cvs
Subject:    [DOC-CVS] =?utf-8?q?svn:_/phpdoc/en/trunk/reference/datetime/functions/_localtime.xml?=
From:       Peter_Cowburn <salathe () php ! net>
Date:       2011-04-27 12:07:36
Message-ID: svn-salathe-1303906056-310555-315849254 () svn ! php ! net
[Download RAW message or body]

salathe                                  Wed, 27 Apr 2011 12:07:36 +0000

Revision: http://svn.php.net/viewvc?view=revision&revision=310555

Log:
tidy localtime descriptions (doc #54166)

Bug: http://bugs.php.net/54166 (Open) localtime tm_mday, tm_wday docs
      
Changed paths:
    U   phpdoc/en/trunk/reference/datetime/functions/localtime.xml

Modified: phpdoc/en/trunk/reference/datetime/functions/localtime.xml
===================================================================
--- phpdoc/en/trunk/reference/datetime/functions/localtime.xml	2011-04-27 12:03:55 UTC (rev 310554)
+++ phpdoc/en/trunk/reference/datetime/functions/localtime.xml	2011-04-27 12:07:36 UTC (rev 310555)
@@ -42,51 +42,51 @@
        <itemizedlist>
         <listitem>
          <simpara>
-          "tm_sec" - seconds
+          "tm_sec" - seconds, <literal>0</literal> to <literal>59</literal>
          </simpara>
         </listitem>
         <listitem>
          <simpara>
-          "tm_min" - minutes
+          "tm_min" - minutes, <literal>0</literal> to <literal>59</literal>
          </simpara>
         </listitem>
         <listitem>
          <simpara>
-          "tm_hour" - hour
+          "tm_hour" - hours, <literal>0</literal> to <literal>23</literal>
          </simpara>
         </listitem>
         <listitem>
          <simpara>
-          "tm_mday" - day of the month
+          "tm_mday" - day of the month, <literal>1</literal> to <literal>31</literal>
          </simpara>
-         <simpara>
-          Months are from 0 (Jan) to 11 (Dec) and days of the week are from 0 (Sun) to 6 (Sat).
-         </simpara>
         </listitem>
         <listitem>
          <simpara>
-          "tm_mon" - month of the year, starting with 0 for January
+          "tm_mon" - month of the year, <literal>0</literal> (Jan) to <literal>11</literal> (Dec)
          </simpara>
         </listitem>
         <listitem>
          <simpara>
-          "tm_year" - Years since 1900
+          "tm_year" - years since 1900
          </simpara>
         </listitem>
         <listitem>
          <simpara>
-          "tm_wday" - Day of the week
+          "tm_wday" - day of the week, <literal>0</literal> (Sun) to <literal>6</literal> (Sat)
          </simpara>
         </listitem>
         <listitem>
          <simpara>
-          "tm_yday" - Day of the year
+          "tm_yday" - day of the year, <literal>0</literal> to <literal>365</literal>
          </simpara>
         </listitem>
         <listitem>
          <simpara>
-          "tm_isdst" - Is daylight savings time in effect
+          "tm_isdst" - is daylight savings time in effect?
          </simpara>
+         <simpara>
+          Positive if yes, <literal>0</literal> if not, negative if unknown.
+         </simpara>
         </listitem>
        </itemizedlist>
       </para>



-- 
PHP Documentation Commits Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic