From: Bruno Wolff III <bruno@wolff.to>
To: d ravipati <devrpp@rediffmail.com>
Cc: pgsql-admin@postgresql.org
Subject: Re: Database server time zone
Date: Thu, 16 Jan 2003 09:09:44 -0600
Message-ID: <20030116150944.GB24326@wolff.to> (raw)
In-Reply-To: <20030116105824.9721.qmail@webmail28.rediffmail.com>
References: <20030116105824.9721.qmail@webmail28.rediffmail.com>
On Thu, Jan 16, 2003 at 10:58:24 -0000,
d ravipati <devrpp@rediffmail.com> wrote:
> Hi,
> Is there any command to find database server local time zone
> alone.
>
> SHOW TIME ZONE just displays database servers local time zone.
> But I need to hold output of SHOW TIME ZONE in a variable, to
> convert the input given in GMT to database server time zone.
> Is there any other way to get database server time zone?
> Thanks
> Devi
If the input timestamp includes a timezone specification indicating GMT,
you shouldn't have to do anything. If the timestamp is a string without
timezone information, you should be able to manipulate the string to
indicate that it is GMT.
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 from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-admin@postgresql.org
Cc: bruno@wolff.to, devrpp@rediffmail.com
Subject: Re: Database server time zone
In-Reply-To: <20030116150944.GB24326@wolff.to>
References: <20030116105824.9721.qmail@webmail28.rediffmail.com> <20030116150944.GB24326@wolff.to>
* 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