svn: /phpdoc/en/trunk/reference/datetime/datetime/ construct.xml
| From: | Daniel Convissor | Date: | Sat, 24 Apr 2010 20:02:07 +0000 |
| Subject: | svn: /phpdoc/en/trunk/reference/datetime/datetime/ construct.xml | ||
| Groups: | php.doc.cvs | ||
| Request: | Send a blank email to doc-cvs+get-6436@lists.php.net to get a copy of this message | ||
danielc Sat, 24 Apr 2010 20:02:07 +0000
Revision: http://svn.php.net/viewvc?view=revision&revision=298445
Log:
Further parameter explanations.
Changed paths:
U phpdoc/en/trunk/reference/datetime/datetime/construct.xml
Modified: phpdoc/en/trunk/reference/datetime/datetime/construct.xml
===================================================================
--- phpdoc/en/trunk/reference/datetime/datetime/construct.xml 2010-04-24 20:01:05 UTC (rev 298444)
+++ phpdoc/en/trunk/reference/datetime/datetime/construct.xml 2010-04-24 20:02:07 UTC (rev 298445)
@@ -29,7 +29,11 @@
String in a format accepted by <function>strtotime</function>.
</para>
<para>
- To use a UNIX timestamp, put a <literal>@</literal> on the
+ Enter &null; here to obtain the current time when using
+ the <parameter>$timezone</parameter> parameter.
+ </para>
+ <para>
+ To use a UNIX timestamp, put a <literal>@</literal> in
front of the timestamp string.
</para>
</listitem>
@@ -43,11 +47,18 @@
</para>
<para>
If <parameter>$timezone</parameter> is omitted,
- the current timezone will be used. The <parameter>$timezone</parameter>
- parameter will be ignored if a timezone is specified in the
- <parameter>$time</parameter> parameter (e.g. using
- <literal>2010-01-28T15:00:00+02:00</literal>).
+ the current timezone will be used.
</para>
+ <note>
+ <para>
+ The <parameter>$timezone</parameter> parameter
+ and the current timezone are ignored when the
+ <parameter>$time</parameter> parameter either
+ is a UNIX timestamp (e.g. <literal>@946684800</literal>)
+ or specifies a timezone
+ (e.g. <literal>2010-01-28T15:00:00+02:00</literal>).
+ </para>
+ </note>
</listitem>
</varlistentry>
</variablelist>