Further parameter explanations.

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@298445 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
Daniel Convissor 2010-04-24 20:02:07 +00:00
parent 7e03c6b67f
commit 3b5eab0c4e

View file

@ -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>