Re: convert in GMT time zone without summer time

Поиск
Список
Период
Сортировка
От LaraK
Тема Re: convert in GMT time zone without summer time
Дата
Msg-id 1303110631714-4310095.post@n5.nabble.com
обсуждение исходный текст
Ответ на convert in GMT time zone without summer time  (LaraK <indarija@gmx.net>)
Список 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 по дате отправления:

Предыдущее
От: Jasen Betts
Дата:
Сообщение: Re: Get id of a tuple using exception
Следующее
От: Steve Crawford
Дата:
Сообщение: Re: convert in GMT time zone without summer time