Received: from maia.hub.org (maia-3.hub.org [200.46.204.243]) by mail.postgresql.org (Postfix) with ESMTP id 0ED651337BDB for ; Mon, 18 Apr 2011 04:10:40 -0300 (ADT) Received: from mail.postgresql.org ([200.46.204.86]) by maia.hub.org (mx1.hub.org [200.46.204.243]) (amavisd-maia, port 10024) with ESMTP id 00438-09 for ; Mon, 18 Apr 2011 07:10:34 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from sam.nabble.com (sam.nabble.com [216.139.236.26]) by mail.postgresql.org (Postfix) with ESMTP id DD8841337BDC for ; Mon, 18 Apr 2011 04:10:32 -0300 (ADT) Received: from [192.168.236.26] (helo=sam.nabble.com) by sam.nabble.com with esmtp (Exim 4.69) (envelope-from ) id 1QBibP-0006Q4-NO for pgsql-sql@postgresql.org; Mon, 18 Apr 2011 00:10:31 -0700 Date: Mon, 18 Apr 2011 00:10:31 -0700 (PDT) From: LaraK To: pgsql-sql@postgresql.org Message-ID: <1303110631714-4310095.post@n5.nabble.com> In-Reply-To: <1302848430605-4304830.post@n5.nabble.com> References: <1302848430605-4304830.post@n5.nabble.com> Subject: Re: convert in GMT time zone without summer time MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=-0.767 tagged_above=-5 required=5 tests=BAYES_00=-1.9, FREEMAIL_FROM=0.001, T_TO_NO_BRKTS_FREEMAIL=0.01, URI_HEX=1.122 X-Spam-Level: X-Archive-Number: 201104/26 X-Sequence-Number: 35273 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.