Thursday , April 25 2024

How To Change TimeZone on PostgreSQL

If you notice that there is an error in the PostgreSQL time when you make time-dependent queries in PostgreSQL, you can change it by following these steps. If you want to change Timezone on Linux you can use my article called “How To Change TimeZone on Centos 7“.

If you want to learn the time in PostgreSQL you can use the following function.

You can see the timezones from the following query and continue by selecting the timezone you want.

You can change the timezone as follows.

After changing the timezone, let’s check the time again with the command below.

Loading

About Faruk Erdem

Leave a Reply

Your email address will not be published. Required fields are marked *

Categories