Re: convert in GMT time zone without summer time - Mailing list pgsql-sql

From LaraK
Subject Re: convert in GMT time zone without summer time
Date
Msg-id 1303110631714-4310095.post@n5.nabble.com
Whole thread Raw
In response to convert in GMT time zone without summer time  (LaraK <indarija@gmx.net>)
List pgsql-sql
I find it difficult to understand you.

But the input I can not change:
>SELECT 
>to_char(CONVERT_TO_UTC( '2011-03-22 14:17:00+01'::timestamptz
,'CET'),'yyyy-mm-dd hh12:MI:SS') AS winter, 
>to_char(CONVERT_TO_UTC( '2011-04-22 14:17:00+02'::timestamptz
,'CET'),'yyyy-mm-dd hh24:MI:SS') AS summer; 

The system must know alone when is summertime and when is wintertime. Can it
this?

--
View this message in context:
http://postgresql.1045698.n5.nabble.com/convert-in-GMT-time-zone-without-summer-time-tp4304830p4310095.html
Sent from the PostgreSQL - sql mailing list archive at Nabble.com.


pgsql-sql by date:

Previous
From: Jasen Betts
Date:
Subject: Re: Get id of a tuple using exception
Next
From: Steve Crawford
Date:
Subject: Re: convert in GMT time zone without summer time