|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Request #74243 Add milliseconds to DateTime values
Submitted: 2017-03-13 16:28 UTC Modified: 2017-10-31 21:58 UTC
Avg. Score:5.0 ± 0.0
Reproduced:1 of 1 (100.0%)
Same Version:1 (100.0%)
Same OS:1 (100.0%)
From: bgarel at hotmail dot com Assigned: adambaratz (profile)
Status: Closed Package: PDO DBlib
PHP Version: Irrelevant OS: Linux
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
Block user comment
Status: Assign to:
Bug Type:
From: bgarel at hotmail dot com
New email:
PHP Version: OS:


 [2017-03-13 16:28 UTC] bgarel at hotmail dot com
Since the bugfix #54648, the pdo_dblib extension has forced the datetime format to YYYY-MM-DD HH:MM:SS.

Please add the milliseconds :
- with the returning format YYYY-MM-DD HH:MM:SS.F


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2017-03-13 16:31 UTC]
-Status: Open +Status: Feedback
 [2017-03-13 16:31 UTC]
There's another ticket open -- #72141 -- requesting that this format be customizable. Okay with you to merge the two?
 [2017-03-26 04:22 UTC] php-bugs at lists dot php dot net
No feedback was provided. The bug is being suspended because
we assume that you are no longer experiencing the problem.
If this is not the case and you are able to provide the
information that was requested earlier, please do so and
change the status of the bug back to "Re-Opened". Thank you.
 [2017-08-09 19:59 UTC] maxiwheat at gmail dot com
We are having the same issue on our side, would be great to have milliseconds back in our datetime resultsets, since we need them.
 [2017-10-13 11:38 UTC] bgarel at hotmail dot com
the absence of the milliseconds is a real regression.
I am not OK to merge with the issue 72141.

Is it possible to re open this issue ?
 [2017-10-31 21:54 UTC]
Automatic comment on behalf of
Log: Fix #74243: allow locales.conf to drive datetime format
 [2017-10-31 21:54 UTC]
-Status: No Feedback +Status: Closed
 [2017-10-31 21:58 UTC]
-Assigned To: +Assigned To: adambaratz
 [2017-10-31 21:58 UTC]
Please see the conversation on the related pull request -- The suggestion is to set format via locales.conf or use the CAST function.
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sun Jul 14 07:01:29 2024 UTC