4

The default timezone is currently set to UTC. How to replace that default value? I am using PostgreSQL running on top of Amazon RDS

asked Mar 27, 2018 at 10:39

1 Answer 1

4

ALTER DATABASE <db_name> SET TimeZone = 'UTC'; But you shouldn't do that. Using UTC for database is safest thing possible.

answered Mar 30, 2018 at 21:22
1
  • it is the only solution if all the users are on the same single timezone Commented May 17, 2018 at 5:15

Your Answer

Draft saved
Draft discarded

Sign up or log in

Sign up using Google
Sign up using Email and Password

Post as a guest

Required, but never shown

Post as a guest

Required, but never shown

By clicking "Post Your Answer", you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.