From a876269e6a805ce7d7ce9e66c5cfc5579edb599b Mon Sep 17 00:00:00 2001 From: Derick Rethans Date: Tue, 23 Dec 2008 14:05:56 +0000 Subject: [PATCH] - 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 --- reference/datetime/functions/strtotime.xml | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) diff --git a/reference/datetime/functions/strtotime.xml b/reference/datetime/functions/strtotime.xml index d07874cc5d..b5566dce2e 100644 --- a/reference/datetime/functions/strtotime.xml +++ b/reference/datetime/functions/strtotime.xml @@ -1,5 +1,5 @@ - + @@ -16,7 +16,7 @@ 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 now, or the current time if now is not supplied. @@ -43,10 +43,8 @@ time - The string to parse, according to the GNU Date Input Formats - 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. @@ -164,7 +162,7 @@ if (($timestamp = strtotime($str)) === false) { 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