What determines (how to configure) what format string is used by php PDO driver for values of date and timestamp fields?
问题 I have Firebird 3.0 database which have date and timestamp fields and I am using interbase extension (yes - still interbase) and Yii2 framwork in PHP 7.x. And I have Yii code: Yii::$app->db->createCommand('select order_date from orders where order_id=5'); which returns field with value: 2019-10-15 00:00:00 AFAIU then Yii2 uses PDO and that is why my question reduces to the question about PDO. PHP has DateTime extension but AFAIU PDO does not use DateTime class (and also does not use Unix