Re: Issue with date/timezone conversion function

From: Adrian Klaver <adrian(dot)klaver(at)aklaver(dot)com>
To: Lok P <loknath(dot)73(at)gmail(dot)com>, pgsql-general <pgsql-general(at)lists(dot)postgresql(dot)org>
Subject: Re: Issue with date/timezone conversion function
Date: 2024-04-09 15:56:34
Message-ID: fbb258ef-f021-4048-8128-3f3c39491696@aklaver.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On 4/9/24 08:43, Lok P wrote:
> Hi All,
> It's version 15.4 of postgresql database. Every "date/time" data type
> attribute gets stored in the database in UTC timezone only. One of the
> support persons local timezone is "asia/kolkata" and  that support
> person needs to fetch the count of transactions from a table-
> transaction_tab and share it with another person/customer who is in the
> EST timezone, so basically the transaction has to be shown or displayed
> the EST timezone.

What is the datatype for the create_timestamp?

What does SHOW timezone; return on the server?

--
Adrian Klaver
adrian(dot)klaver(at)aklaver(dot)com

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Lok P 2024-04-09 16:16:35 Re: Issue with date/timezone conversion function
Previous Message Lok P 2024-04-09 15:43:54 Issue with date/timezone conversion function