Received: from maia.hub.org (maia-2.hub.org [200.46.204.251]) by mail.postgresql.org (Postfix) with ESMTP id 27C0CB5DC09 for ; Thu, 22 Sep 2011 01:47:45 -0300 (ADT) Received: from mail.postgresql.org ([200.46.204.86]) by maia.hub.org (mx1.hub.org [200.46.204.251]) (amavisd-maia, port 10024) with ESMTP id 03762-06 for ; Thu, 22 Sep 2011 04:47:38 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.8.0-rc2 Received: from sam.nabble.com (sam.nabble.com [216.139.236.26]) by mail.postgresql.org (Postfix) with ESMTP id 51A89B5DBD1 for ; Thu, 22 Sep 2011 01:47:37 -0300 (ADT) Received: from [192.168.236.26] (helo=sam.nabble.com) by sam.nabble.com with esmtp (Exim 4.72) (envelope-from ) id 1R6bCB-0004dV-Eq for pgsql-bugs@postgresql.org; Wed, 21 Sep 2011 21:47:35 -0700 Date: Wed, 21 Sep 2011 21:47:35 -0700 (PDT) From: pratikchirania To: pgsql-bugs@postgresql.org Message-ID: <1316666855451-4828973.post@n5.nabble.com> In-Reply-To: <28648.1316637111@sss.pgh.pa.us> References: <1316149023380-4809498.post@n5.nabble.com> <4E7364B8.5070608@timbira.com> <1316589418035-4825401.post@n5.nabble.com> <4E7A4570.9040609@timbira.com> <28648.1316637111@sss.pgh.pa.us> Subject: Re: Timezone issues with Postrres 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.778 tagged_above=-5 required=5 tests=BAYES_00=-1.9, URI_HEX=1.122 X-Spam-Level: X-Archive-Number: 201109/153 X-Sequence-Number: 31170 Hi, thanks for the responses. Here are updates from my end: 1. I am in Costa Rica, using Windows Server 2008 R2/Windows 2003 with PostgreSQL 8.3/9.0 2. System Date/Time Settings shows "CST/Central America" with UTC-6 as extra display system timezone: (using command: systeminfo) Time Zone: (UTC-06:00) Central America 3. other applications are showing the correct time (i.e., the System Time setting IS correct as can be confirmed by a time checker such as http://www.timeanddate.com/worldclock/) 4. There is NO DST for CST (Central America) a.k.a America/Costa_Rica to the PostgreSQL database through the pg_timezone_names view 5. If the America/Costa_Rica entry is made in the posgresql.conf file (timezone field), it works as expected and matches the System TimeZone/Date and Time Here are the results you had requested for: show timezone "CST6CDT" select now() at time zone 'utc', now() at time zone 'utc -6', NOW(); "2011-09-22 02:50:49.746"; "2011-09-22 08:50:49.746"; "2011-09-21 21:50:49.746-05" regards, Pratik -- View this message in context: http://postgresql.1045698.n5.nabble.com/Timezone-issues-with-Postgres-tp4809498p4828973.html Sent from the PostgreSQL - bugs mailing list archive at Nabble.com.