Re: Database server time zone - Mailing list pgsql-admin

From Bruno Wolff III
Subject Re: Database server time zone
Date
Msg-id 20030116150944.GB24326@wolff.to
Whole thread Raw
In response to Database server time zone  ("d ravipati" <devrpp@rediffmail.com>)
List pgsql-admin
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.

pgsql-admin by date:

Previous
From: "Rajesh Kumar Mallah."
Date:
Subject: Re: Is There any function to get Difference of Dates
Next
From: Steve Crawford
Date:
Subject: Re: Is There any function to get Difference of Dates