|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #55734 date - Microseconds problem
Submitted: 2011-09-20 07:55 UTC Modified: 2011-09-24 20:06 UTC
Avg. Score:5.0 ± 0.0
Reproduced:1 of 1 (100.0%)
Same Version:1 (100.0%)
Same OS:1 (100.0%)
From: bugzilla33 at gmail dot com Assigned:
Status: Duplicate Package: Date/time related
PHP Version: 5.4.0beta1 OS: All
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If this is not your bug, you can add a comment by following this link.
If this is your bug, but you forgot your password, you can retrieve your password here.
Bug Type:
From: bugzilla33 at gmail dot com
New email:
PHP Version: OS:


 [2011-09-20 07:55 UTC] bugzilla33 at gmail dot com

u - Microseconds (added in PHP 5.2.2) - Example: 654321

Test script:

Expected result:
Example: 654321

Actual result:


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2011-09-24 20:06 UTC]
-Status: Open +Status: Duplicate
 [2011-09-24 20:06 UTC]
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.
PHP Copyright © 2001-2021 The PHP Group
All rights reserved.
Last updated: Sun Apr 11 17:01:27 2021 UTC