Re: DST and time zones

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: A Gilmore <agilmore(at)shaw(dot)ca>
Cc: Postgresql Mailing list <pgsql-novice(at)postgresql(dot)org>
Subject: Re: DST and time zones
Date: 2004-09-19 03:03:28
Message-ID: 15258.1095563008@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-novice

A Gilmore <agilmore(at)shaw(dot)ca> writes:
> I have table holding timestamps without a time zone (considered GMT).
> Ill being making inserts into this table with a timestamp like 3pm PST,
> which I need to be translated and inserted as GMT. Later this will
> likely be queried where I need the timestamp returned for say EST.

This would all work a lot better if the column were timestamp *with*
timezone. Trying to do it the way you are is just swimming upstream
to no particular purpose.

regards, tom lane

In response to

Browse pgsql-novice by date

  From Date Subject
Next Message Kumar S 2004-09-20 02:15:21 Creating a new column with SERIAL as data type
Previous Message A Gilmore 2004-09-19 01:11:11 Re: DST and time zones