http://www.perlmonks.org?node_id=367306


in reply to DBI Date Formatting

Issue the following SQL after you connect:

alter session set nls_date_format='YYYYMMDD';

Then all dates returned will be of the format you require.

Replies are listed 'Best First'.
Re^2: DBI Date Formatting
by Anonymous Monk on Jan 14, 2016 at 15:37 UTC
    You saved my life. :) alter session set nls_date_format='YYYY-MM-DD HH24:MI:SS'
Re^2: DBI Date Formatting
by Anonymous Monk on Mar 23, 2016 at 17:18 UTC

    Thank you. Thank you. Thank you.