Skip to Main Content

SQL & PL/SQL

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!

unable to get abbreviation value using oracle functions for timestamp TO_DATE ('10-MAR-2019 02:47:0

3136958Mar 14 2019 — edited Mar 14 2019

Hi Team ,

We are using below function to get abbreviation for the timezone id passed . But we are facing some issues . Its working fine for all timestamp but on the daylight savings change  that is on TO_DATE ('10-MAR-2019 02:47:00', 'DD-MON-YYYY HH24:mi:SS') we are facing this . How we can handle this , if we are using this below oracle functions

select TO_CHAR (

           FROM_TZ (

               CAST (

                   TO_DATE ('10-MAR-2019 02:47:00', 'DD-MON-YYYY HH24:mi:SS') AS TIMESTAMP),

               'America/Chicago'),

           'TZD') from dual

Thanks,

Ravi.

Comments
Post Details
Added on Mar 14 2019
14 comments
835 views