php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #75324 No provision for milliseconds in timestamps
Submitted: 2017-10-06 01:39 UTC Modified: -
From: dmiller at amfes dot com Assigned:
Status: Open Package: InterBase related
PHP Version: 7.0.24 OS: any
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.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: dmiller at amfes dot com
New email:
PHP Version: OS:

 

 [2017-10-06 01:39 UTC] dmiller at amfes dot com
Description:
------------
If a timestamp field is filled with the value of current_timestamp from a stored procedure or trigger, then the timestamp field will include millisecond information. "Pure" Firebird queries, such as from Flamerobin, will show the milliseconds. However, queries using the ibase_ functions return using the ibase.timestampformat per the documentation, which uses the strftime function - which has no provision for milliseconds.

A workaround for the strftime limitation was given in http://php.net/manual/en/function.strftime.php#114532


Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2018-03-03 00:32 UTC] keymaker dot 7 at gmail dot com
Tambien se puede cambiar a varchar para obtener la fecha completa:
LEFT(CAST(SERVERTIME AS VARCHAR(24)),23)
 
PHP Copyright © 2001-2019 The PHP Group
All rights reserved.
Last updated: Tue Jun 25 00:01:26 2019 UTC