svn: /phpdoc/en/trunk/reference/datetime/functions/ localtime.xml
| From: | Peter Cowburn | Date: | Wed, 27 Apr 2011 12:07:36 +0000 |
| Subject: | svn: /phpdoc/en/trunk/reference/datetime/functions/ localtime.xml | ||
| Groups: | php.doc.cvs | ||
| Request: | Send a blank email to doc-cvs+get-8016@lists.php.net to get a copy of this message | ||
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>