Configure The Timezone
Running show timezone;
will reveal the timezone for your postgres connection. If you want to change the timezone for the duration of the connection, you can run something like
Now, if you run a command such as select now();
, the time will be in Eastern time.
h/t Jack Christensen
Last updated