php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #41881 date format in microtime
Submitted: 2007-07-03 03:03 UTC Modified: 2007-07-03 06:39 UTC
From: glen at schoenung dot us Assigned:
Status: Not a bug Package: Date/time related
PHP Version: 5.2.3 OS: window xp sp2
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 you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: glen at schoenung dot us
New email:
PHP Version: OS:

 

 [2007-07-03 03:03 UTC] glen at schoenung dot us
Description:
------------
the format option for microtime does not seem to work

date('H:i:s.u', microtime(true))

will return something like

23:15:12.00000

with 00000 always the microtime



















Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2007-07-03 06:39 UTC] tony2001@php.net
Duplicate of bug #41806.
 
PHP Copyright © 2001-2025 The PHP Group
All rights reserved.
Last updated: Thu Aug 28 12:00:02 2025 UTC