Re: Dates and daylight saving time

From: Fduch the Pravking <fduch(at)antar(dot)bryansk(dot)ru>
To: Tom Pfau <T(dot)Pfau(at)emCrit(dot)com>, pgsql-bugs(at)postgresql(dot)org
Subject: Re: Dates and daylight saving time
Date: 2002-01-31 17:33:28
Message-ID: 20020131203327.A6485@zombie.antar.bryansk.ru
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

On Thu, Jan 31, 2002 at 11:44:53AM -0500, Tom Pfau wrote:
> try 'set timezone to <tzname>' replacing <tzname> with your timezone
> before your query.
>
> template1=# set timezone to est;
> SET VARIABLE
> template1=# SELECT date(date '2001-10-28' + interval '1 day');
> date
> ------------
> 2001-10-29
> (1 row)

Yes, it works!

But now postgres accepts input and returns output
in GMT, not local time like before! Is it a feature?

--
Fduch M. Pravking

In response to

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message Peter V. Cooper 2002-01-31 17:40:58 Re: New to Postgresql - Backend timeout /JDBC
Previous Message Marc Lavergne 2002-01-31 17:12:19 array_dims function is poorly behaved