Skip to Main Content

Database Software

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Date conversion UDT and CDT

selvi mSep 28 2022

Hello,
I shared the data input, it needs to be converted of one utc time format and another one cdt time format that shows two different column.
input :
with sqltmp as (
select sysdate date1,'08:00' start1,'23:01' end1,'US/Eastern' DB_TZ from dual union all
select sysdate+1 date1,'23:00' start1,'23:01' end1,'US/Eastern' DB_TZ from dual union all
select sysdate+2 date1,'11:00' start1,'23:01' end1,'US/Eastern' DB_TZ from dual )
SELECT * FROM SQLTMP;

Thanks

Comments
Post Details
Added on Sep 28 2022
2 comments
569 views