Edit report at https://bugs.php.net/bug.php?id=55734&edit=1

 ID:                 55734
 Updated by:         ahar...@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

Reply via email to