cvs: phpdoc /en/reference/datetime/functions strtotime.xml

From: Date: Mon, 15 Nov 2004 15:23:04 +0000
Subject: cvs: phpdoc /en/reference/datetime/functions strtotime.xml
Groups: php.doc 
Request: Send a blank email to phpdoc+get-969365087@lists.php.net to get a copy of this message
vrana Mon Nov 15 10:23:04 2004 EDT Modified files: /phpdoc/en/reference/datetime/functions strtotime.xml Log: Current time is ignored in PHP 5 http://cvs.php.net/diff.php/phpdoc/en/reference/datetime/functions/strtotime.xml?r1=1.7&r2=1.8&ty=u Index: phpdoc/en/reference/datetime/functions/strtotime.xml diff -u phpdoc/en/reference/datetime/functions/strtotime.xml:1.7 phpdoc/en/reference/datetime/functions/strtotime.xml:1.8 --- phpdoc/en/reference/datetime/functions/strtotime.xml:1.7 Sat Dec 20 23:21:43 2003 +++ phpdoc/en/reference/datetime/functions/strtotime.xml Mon Nov 15 10:22:58 2004 @@ -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>

« previous php.doc (#969365087) next »