Azure PostgreSQL Flexible server Time Zone need to change

Navnath Manere 0 Reputation points
2024-11-19T06:17:22.63+00:00

Azure PostgreSQL Flexible server Time Zone need to change from default UTC to IST, hence need assistance to change the same.

Azure Database for PostgreSQL
{count} votes

1 answer

Sort by: Most helpful
  1. NIKHILA NETHIKUNTA 3,505 Reputation points Microsoft Vendor
    2024-11-19T06:56:23.4533333+00:00

    @Navnath Manere
    Thank you for the question and for using Microsoft Q&A platform.
    As per my understanding, you want to change the timezone in Azure PostgreSQL Flexible server from UTC to IST(Asia/Kolkata).

    You can change the time zone for your Azure PostgreSQL Flexible Server from UTC to IST by following these steps:

    1. Open the Azure Portal and navigate to your Azure Database for PostgreSQL Flexible Server instance.
    2. Go to the “Server Parameters” section under the SETTINGS menu.
    3. Search for the TimeZone parameter. You can use the search box to quickly find it.
    4. Change the TimeZone parameter to Asia/Kolkata (which represents IST).
    5. Save the changes.

    User's image

    Verification:

    To confirm the time zone change:

    1. Connect to the PostgreSQL database using a tool like psql, Azure Data Studio, or any PostgreSQL client. I have used Azure Data Studio.
    2. Run the following SQL query:
         SHOW timezone;
         
         
      

    User's image

    Hope this helps. Do let us know if you have any further queries.


    If this answers your query, do click Accept Answer and Yes for was this answer helpful. And, if you have any further query do let us know.

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.