pg.ddx.io  pgsql-docs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Peter Eisentraut <peter_e@gmx.net>
Cc: pgsql-docs@postgresql.org, Thomas Lockhart <lockhart@fourpalms.org>
Subject: Re: Undocumented datetime functions
Date: Fri, 16 Feb 2001 13:09:09 -0500
Message-ID: <12574.982346949@sss.pgh.pa.us> (raw)
In-Reply-To: <Pine.LNX.4.30.0102161909170.1009-100000@peter.localdomain>
References: <Pine.LNX.4.30.0102161909170.1009-100000@peter.localdomain>

Peter Eisentraut <peter_e@gmx.net> writes:
> I'm confused about tz_hour and tz_minute.

Lockhart would be the authority here, but I think that tz_hour/tz_minute
tell you your timezone in the form of hours & minutes west of GMT.
'timezone' gives the same info in a pure total-minutes-west style.

(There are places that run with standard time a nonintegral number of
hours off GMT, oddly enough, so you do need the minutes part.)

			regards, tom lane



view thread (8+ messages)  latest in thread

Message-ID: <12574.982346949@sss.pgh.pa.us>
Permalink:  ../12574.982346949@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/12574.982346949@sss.pgh.pa.us

 · 

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: pgsql-docs@postgresql.org
  Cc: tgl@sss.pgh.pa.us, peter_e@gmx.net, lockhart@fourpalms.org
  Subject: Re: Undocumented datetime functions
  In-Reply-To: <12574.982346949@sss.pgh.pa.us>

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

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