public inbox for [email protected]
help / color / mirror / Atom feedFrom: Tom Lane <[email protected]>
To: Sbob <[email protected]>
Cc: [email protected]
Subject: Re: time data type question
Date: Fri, 06 Dec 2024 14:48:42 -0500
Message-ID: <[email protected]> (raw)
In-Reply-To: <[email protected]>
References: <[email protected]>
Sbob <[email protected]> writes:
> I thought I would see the time columns shift to mountain time as well.
> am I doing something wrong?
timetz acts completely differently from timestamptz. timetz
actually stores two fields, a time-of-day (microseconds since
midnight I think) and a timezone expressed as numeric offset
from UTC. Once stored, the value does not react to changes
in the timezone setting.
By and large we consider timetz deprecated. It's there
because the SQL spec requires it, but it doesn't behave in
a way that most people find useful.
regards, tom lane
view thread (3+ messages) latest in thread
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: time data type question
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