Re: AT TIME ZONE and DST in UTC<->CET conversion

From: Gregory Stark <stark(at)enterprisedb(dot)com>
To: Jaromír Talíř <jaromir(dot)talir(at)nic(dot)cz>
Cc: <pgsql-general(at)postgresql(dot)org>
Subject: Re: AT TIME ZONE and DST in UTC<->CET conversion
Date: 2008-07-05 12:05:31
Message-ID: 87ej68wn78.fsf@oxford.xeocode.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Jaromír Talíř <jaromir(dot)talir(at)nic(dot)cz> writes:

> postgres# select '2008-06-01 10:10:10 UTC' AT TIME ZONE 'CET';
> timezone
> ---------------------
> 2008-06-01 12:10:10

ISTM this is the one that's wrong. "CET" is standard time, it, GMT+1.

If you want a timezone which switches between CET and CST automatically you
should use something like Europe/Paris.

--
Gregory Stark
EnterpriseDB http://www.enterprisedb.com
Get trained by Bruce Momjian - ask me about EnterpriseDB's PostgreSQL training!

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Tom Lane 2008-07-05 15:03:44 Re: [Postgresql 8.2.3] autovacuum starting up even after disabling ?
Previous Message Jaromír Talíř 2008-07-05 10:12:04 AT TIME ZONE and DST in UTC<->CET conversion