Difference between #2 and #3 of
Change default date format in Oracle

Revision #3 has been created by lenovo on Sep 17, 2019, 10:26:27 AM with the memo:

code formatting
« previous (#2) next (#4) »

Changes

Title unchanged

change default date format in oracle

Category unchanged

How-tos

Yii version unchanged

2.0

Tags unchanged

database

Content changed

[...]
'on afterOpen' => function($event) {
// $event->sender refers to the DB connection
$event->sender->createCommand("ALTER SESSION SET NLS_DATE_FORMAT='DD-MM-YYYY hh24:mi:ss'")->execute();
}
];

 
```
0 0
2 followers
Viewed: 3 430 times
Version: 2.0
Category: How-tos
Tags: database
Written by: lenovo
Last updated by: samdark
Created on: Sep 17, 2019
Last updated: 2 months ago
Update Article

Revisions

View all history