|   | php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login | 
| 
  [2014-01-31 12:29 UTC] thomas dot kaltseis at leha dot at
 Description: ------------ The DBDATE environment variable seems to be not recognized by pdo_informix module, so the date-values are displayed in wrong date-format. PatchesPDO_INFORMIX (last revision 2014-01-31 12:32 UTC by thomas dot kaltseis at leha dot at)Pull RequestsHistoryAllCommentsChangesGit/SVN commits             | |||||||||||||||||||||||||||||||||||||
|  Copyright © 2001-2025 The PHP Group All rights reserved. | Last updated: Fri Oct 31 12:00:01 2025 UTC | 
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 Array ( [fecha] => 2013-12-01 [0] => 2013-12-01 ) > DBDATE=dmy4 php -f test.php Array ( [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.