public inbox for [email protected]  
help / color / mirror / Atom feed
From: Adrian Klaver <[email protected]>
To: Lok P <[email protected]>
To: pgsql-general <[email protected]>
Subject: Re: Issue with date/timezone conversion function
Date: Tue, 9 Apr 2024 08:56:34 -0700
Message-ID: <[email protected]> (raw)
In-Reply-To: <CAKna9VY+_b3Cf=BEopo9Z6XcEPsaXSsUUaLJ48YMSMbqT+cSug@mail.gmail.com>
References: <CAKna9VY+_b3Cf=BEopo9Z6XcEPsaXSsUUaLJ48YMSMbqT+cSug@mail.gmail.com>

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
[email protected]







view thread (2+ messages)

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: [email protected]
  Cc: [email protected], [email protected], [email protected]
  Subject: Re: Issue with date/timezone conversion function
  In-Reply-To: <[email protected]>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox