convert GMT to EDT/EST
I want to convert the time from GMT to EDT/EST irrespective of day light savings.
select new_time (to_date ('2003/11/01 01:45', 'yyyy/mm/dd HH24:MI'), 'GMT', 'EST') from dual
10/31/2003 8:45:00 PM
select new_time (to_date ('2003/11/01 01:45', 'yyyy/mm/dd HH24:MI'), 'GMT', 'EDT') from dual
10/31/2003 9:45:00 PM
In above queries manually i changed it from EST to EDT.Is there a way in sql to convert EST to EDT depening on day light saving time?