Date Formatting
(Note: Oracle's
DATE
&TIMESTAMP
format is set toYYYY-MM-DD HH24:MI:SS
by default to match PHP's common date format)
To set oracle session date and timestamp format.
DB::setDateFormat('MM/DD/YYYY');
WARNING You're browsing the documentation for an upcoming version of Laravel Oci8. The documentation and features of this release are subject to change.
(Note: Oracle's
DATE
&TIMESTAMP
format is set toYYYY-MM-DD HH24:MI:SS
by default to match PHP's common date format)
To set oracle session date and timestamp format.
DB::setDateFormat('MM/DD/YYYY');