Current time is ignored in PHP 5

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@172697 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
Jakub Vrana 2004-11-15 15:22:58 +00:00
parent 99c65c8691
commit 4f5e0deb1d

View file

@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
<!-- $Revision: 1.7 $ -->
<!-- $Revision: 1.8 $ -->
<!-- splitted from ./en/functions/datetime.xml, last change in rev 1.8 -->
<refentry id="function.strtotime">
<refnamediv>
@ -29,6 +29,13 @@
Described there is valid syntax for the <parameter>time</parameter>
parameter.
</simpara>
<warning>
<para>
In PHP 5, <literal>"now"</literal> and other relative times are wrongly
computed from today's midnight. It differs from earlier versions where
it is correctly computed from current time.
</para>
</warning>
<para>
<example>
<title><function>strtotime</function> examples</title>