Skip site navigation (1) Skip section navigation (2)

Re: Undocumented datetime functions

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Peter Eisentraut <peter_e(at)gmx(dot)net>
Cc: pgsql-docs(at)postgresql(dot)org, Thomas Lockhart <lockhart(at)fourpalms(dot)org>
Subject: Re: Undocumented datetime functions
Date: 2001-02-16 18:09:09
Message-ID: (view raw, whole thread or download thread mbox)
Lists: pgsql-docs
Peter Eisentraut <peter_e(at)gmx(dot)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

In response to

pgsql-docs by date

Next:From: Peter EisentrautDate: 2001-02-16 18:10:27
Subject: Re: Undocumented datetime functions
Previous:From: RichardDate: 2001-02-16 17:40:55
Subject: Annotatable on-line documentation

Privacy Policy | About PostgreSQL
Copyright © 1996-2017 The PostgreSQL Global Development Group