#37420 [Opn]: strtotime('at') returns current date at 8pm.
| From: | derick@php.net | Date: | Sat, 13 May 2006 07:48:50 +0000 |
| Subject: | #37420 [Opn]: strtotime('at') returns current date at 8pm. | ||
| References: | 1 | Groups: | php.doc |
| Request: | Send a blank email to phpdoc+get-969373011@lists.php.net to get a copy of this message | ||
ID: 37420
Updated by: derick@php.net
Reported By: jb243 at telus dot net
Status: Open
-Bug Type: Date/time related
+Bug Type: Documentation problem
-Operating System: Windows XP
+Operating System: *
-PHP Version: 4.4.2
+PHP Version: *
New Comment:
It's not a bug "At" (in any spelling) is the timezone identifier for
"Azores Time". We need to document the full range of supported syntax
though (also for PHP 5.x).
Previous Comments:
------------------------------------------------------------------------
[2006-05-12 17:36:38] jb243 at telus dot net
Description:
------------
strtotime('at') returns today at current hour or maybe 8pm. Should be
documented as a feature or return an invalid timestamp.
echo date("r",strtotime('At'));
Reproduce code:
---------------
echo date("r",strtotime('At'));
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=37420&edit=1