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

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.

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

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

Not the answer you're looking for? Browse other questions tagged or ask your own question.