|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #66617 Date values are displayed in wrong format
Submitted: 2014-01-31 12:29 UTC Modified: 2021-09-23 12:17 UTC
Avg. Score:5.0 ± 0.0
Reproduced:2 of 2 (100.0%)
Same Version:0 (0.0%)
Same OS:0 (0.0%)
From: thomas dot kaltseis at leha dot at Assigned: cmb (profile)
Status: Feedback Package: PDO_INFORMIX (PECL)
PHP Version: 5.5.8 OS: Ubuntu 12.04
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: thomas dot kaltseis at leha dot at
New email:
PHP Version: OS:


 [2014-01-31 12:29 UTC] thomas dot kaltseis at leha dot at
The DBDATE environment variable seems to be not recognized by pdo_informix module, so the date-values are displayed in wrong date-format.


PDO_INFORMIX (last revision 2014-01-31 12:32 UTC by thomas dot kaltseis at leha dot at)

Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2014-04-29 14:04 UTC] lk at ordix dot de
We have the same problem here with PHP 5.3.6 and PDO_INFORMIX 1.2.6
 [2014-07-14 12:47 UTC] ffapitalle at cooperativaobrera dot coop
We've been diagnosing this issue for the last couple of days.
We are currently using PDO_INFORMIX 1.2.7 and php 5.3.3. It turns out that if we link PDO_INFORMIX against Informix CSDK 2.90, DBDATE environment variable is recognized and return the expected results

> php -f test.php 
    [fecha] => 2013-12-01
    [0] => 2013-12-01
> DBDATE=dmy4 php -f test.php 
    [fecha] => 01/12/2013
    [0] => 01/12/2013

On the other hand, if we link PDO_INFORMIX against CSDK 3.70, it behaves like it is described in this bug.
 [2021-09-23 12:17 UTC]
-Status: Open +Status: Feedback -Assigned To: +Assigned To: cmb
 [2021-09-23 12:17 UTC]
Is this still an issue with latest PDO_INFORMIX (1.3.4)?
PHP Copyright © 2001-2021 The PHP Group
All rights reserved.
Last updated: Thu Sep 23 16:03:36 2021 UTC