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
Get Started with Redwood for Oracle Cloud HCM   Begin Now
To ensure that questions get required attention from community members and are NOT left unanswered, it’s important for the author to indicate (by selecting “Yes” or “No” when prompted) whether the question was answered. (newly added) Please note that it is also important to respond to EACH comment your question receives. Your Yes or No response ensures an accurate status for your question.

For more information, please refer to this announcement explaining best practices for getting answers to questions.

Issue with converting UTC time to BRT time

Summary:

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

Output:


Content (please ensure you mask any confidential information):

Howdy, Stranger!

Log In

To view full details, sign in.

Register

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