From: LaraK <indarija@gmx.net>
To: pgsql-sql@postgresql.org
Subject: Re: convert in GMT time zone without summer time
Date: Mon, 18 Apr 2011 00:10:31 -0700 (PDT)
Message-ID: <1303110631714-4310095.post@n5.nabble.com> (raw)
In-Reply-To: <1302848430605-4304830.post@n5.nabble.com>
References: <1302848430605-4304830.post@n5.nabble.com>
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-tp4304830p43100...
Sent from the PostgreSQL - sql mailing list archive at Nabble.com.
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: pgsql-sql@postgresql.org
Cc: indarija@gmx.net
Subject: Re: convert in GMT time zone without summer time
In-Reply-To: <1303110631714-4310095.post@n5.nabble.com>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox