- We don't implement the GNU formats, and never have properly.

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@271772 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
Derick Rethans 2008-12-23 14:05:56 +00:00
parent 0d157a51ac
commit a876269e6a

View file

@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
<!-- $Revision: 1.25 $ -->
<!-- $Revision: 1.26 $ -->
<!-- splitted from ./en/functions/datetime.xml, last change in rev 1.8 -->
<refentry xml:id="function.strtotime" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
<refnamediv>
@ -16,7 +16,7 @@
<simpara>
The function expects to be given a string containing a US English date
format and will try to parse that format into a Unix timestamp (the
number of seconds since January 1 1970 00:00:00 GMT), relative
number of seconds since January 1 1970 00:00:00 UTC), relative
to the timestamp given in <parameter>now</parameter>, or the current time
if <parameter>now</parameter> is not supplied.
</simpara>
@ -43,10 +43,8 @@
<term><parameter>time</parameter></term>
<listitem>
<para>
The string to parse, according to the GNU <link
xlink:href="&url.gnu.man.date-input;">Date Input Formats</link>
syntax. Before PHP 5.0.0, microseconds weren't allowed in the time, since
PHP 5.0.0 they are allowed but ignored.
The string to parse. Before PHP 5.0.0, microseconds weren't allowed in
the time, since PHP 5.0.0 they are allowed but ignored.
</para>
</listitem>
</varlistentry>
@ -164,7 +162,7 @@ if (($timestamp = strtotime($str)) === false) {
<note>
<para>
The valid range of a timestamp is typically from Fri, 13 Dec
1901 20:45:54 GMT to Tue, 19 Jan 2038 03:14:07 GMT. (These are
1901 20:45:54 UTC to Tue, 19 Jan 2038 03:14:07 UTC. (These are
the dates that correspond to the minimum and maximum values for
a 32-bit signed integer.)
Additionally, not all platforms support negative timestamps, therefore