You're almost there! Please answer a few more questions for access to the Applications content. Complete registration
Interested in joining? Complete your registration by providing Areas of Interest here. Register

Issue with converting UTC time to BRT time

Received Response


When I run below SQL to convert time from UTC to BRT (America/Sao_Paulo), output is not correct. There is a difference of 1 hour in the output. I read somewhere that Brazil is no longer participating in day light saving. This may be happening because of that. Have you encountered this issue and how did you fix it?

 SELECT 'America/Sao_Paulo' time_zone, systimestamp UTC_DATE_TIME, to_char(systimestamp, 'HH24:MI:SS') UTC_TIME, to_char(systimestamp at time zone 'America/Sao_Paulo', 'HH24:MI:SS') LOCAL_TIME

 from dual


Content (please ensure you mask any confidential information):

Howdy, Stranger!

Log In

To view full details, sign in.


Don't have an account? Click here to get started!