Bug #55734 [Opn->Dup]: date - Microseconds problem
| From: | aharvey@php.net | Date: | Sat, 24 Sep 2011 20:06:12 +0000 |
| Subject: | Bug #55734 [Opn->Dup]: date - Microseconds problem | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-163845@lists.php.net to get a copy of this message | ||
Edit report at https://bugs.php.net/bug.php?id=55734&edit=1
ID: 55734
Updated by: aharvey@php.net
Reported by: bugzilla33 at gmail dot com
Summary: date - Microseconds problem
-Status: Open
+Status: Duplicate
Type: Bug
Package: Date/time related
Operating System: All
PHP Version: 5.4.0beta1
Block user comment: N
Private report: N
New Comment:
Duplicate of a bunch of bugs, including bug #41806.
In short, date() only deals with integer timestamps, so the number of
microseconds is always 0.
Previous Comments:
------------------------------------------------------------------------
[2011-09-20 07:55:34] bugzilla33 at gmail dot com
Description:
------------
Specification:
u - Microseconds (added in PHP 5.2.2) - Example: 654321
Test script:
---------------
<?=date('u')?>
Expected result:
----------------
Example: 654321
Actual result:
--------------
000000
------------------------------------------------------------------------
--
Edit this bug report at https://bugs.php.net/bug.php?id=55734&edit=1