Changes
Title
changed
cChange default date format in oOracle
Category
unchanged
How-tos
Yii version
unchanged
2.0
Tags
unchanged
database
Content
unchanged
[...]
// $event->sender refers to the DB connection
$event->sender->createCommand("ALTER SESSION SET NLS_DATE_FORMAT='DD-MM-YYYY hh24:mi:ss'")->execute();
}
];
```