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
ALTER DATABASE <db_name>
SET TimeZone = 'UTC';
But you shouldn't do that. Using UTC for database is safest thing possible.
Erik Reasonable Rates Darling
46.4k14 gold badges146 silver badges542 bronze badges
-
it is the only solution if all the users are on the same single timezoneAbel Melquiades Callejo– Abel Melquiades Callejo2018年05月17日 05:15:18 +00:00Commented May 17, 2018 at 5:15
lang-sql