Bug #52514 [Opn->Asn]: microseconds are missing in DateTime class
| From: | felipe@php.net | Date: | Fri, 06 Aug 2010 22:38:06 +0000 |
| Subject: | Bug #52514 [Opn->Asn]: microseconds are missing in DateTime class | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-153173@lists.php.net to get a copy of this message | ||
Edit report at http://bugs.php.net/bug.php?id=52514&edit=1
ID: 52514
Updated by: felipe@php.net
Reported by: giorgio dot liscio at email dot it
Summary: microseconds are missing in DateTime class
-Status: Open
+Status: Assigned
Type: Bug
Package: Date/time related
Operating System: all? xp x64
PHP Version: 5.3.3
-Assigned To:
+Assigned To: derick
Block user comment: N
Previous Comments:
------------------------------------------------------------------------
[2010-08-02 13:44:52] giorgio dot liscio at email dot it
Description:
------------
hi
i expected to dump microseconds too when i use
new DateTime("now");
new DateTime(date('Y-m-d H:i:s.283020,time()));
but apparently they are not stored at all in datetime objects
echo date('Y-m-d H:i:s.u',microtime(true));
or in classical php functions
thank you
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/bug.php?id=52514&edit=1