PostgreSQL on Amazon RDS – How to Set Default Timezone

amazon-rdspostgresql

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

Best Answer

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