pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
Database server time zone
2+ messages / 2 participants
[nested] [flat]

* Database server time zone
@ 2003-01-16 10:58 d  ravipati <devrpp@rediffmail.com>
  2003-01-16 15:09 ` Re: Database server time zone Bruno Wolff III <bruno@wolff.to>
  0 siblings, 1 reply; 2+ messages in thread

From: d ravipati @ 2003-01-16 10:58 UTC (permalink / raw)
  To: pgsql-admin

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




^ permalink  raw  reply  [nested|flat] 2+ messages in thread

* Re: Database server time zone
  2003-01-16 10:58 Database server time zone d  ravipati <devrpp@rediffmail.com>
@ 2003-01-16 15:09 ` Bruno Wolff III <bruno@wolff.to>
  0 siblings, 0 replies; 2+ messages in thread

From: Bruno Wolff III @ 2003-01-16 15:09 UTC (permalink / raw)
  To: d ravipati <devrpp@rediffmail.com>; +Cc: 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.



^ permalink  raw  reply  [nested|flat] 2+ messages in thread


end of thread, other threads:[~2003-01-16 15:09 UTC | newest]

Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2003-01-16 10:58 Database server time zone d  ravipati <devrpp@rediffmail.com>
2003-01-16 15:09 ` Bruno Wolff III <bruno@wolff.to>

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