X-Original-To: pgsql-jdbc-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [200.46.204.144]) by svr1.postgresql.org (Postfix) with ESMTP id C5119529ED for ; Wed, 20 Jul 2005 15:13:35 -0300 (ADT) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 32817-04 for ; Wed, 20 Jul 2005 18:13:27 +0000 (GMT) Received: from net2.micro-automation.com (net2.micro-automation.com [64.7.141.29]) by svr1.postgresql.org (Postfix) with SMTP id A65445287F for ; Wed, 20 Jul 2005 15:13:25 -0300 (ADT) Received: (qmail 29046 invoked from network); 20 Jul 2005 18:13:26 -0000 Received: from dcdsl.ebox.com (HELO ?192.168.1.2?) (davec@64.7.143.116) by net2.micro-automation.com with SMTP; 20 Jul 2005 18:13:26 -0000 In-Reply-To: <90876a9e05072010475d161b94@mail.gmail.com> References: <90876a9e05071810503606d431@mail.gmail.com> <42DCF0C9.4030501@opencloud.com> <23396.1121781259@sss.pgh.pa.us> <392278AB-987F-40CF-B59D-DDF53B9A4ACF@fastcrypt.com> <90876a9e050719093261c52c64@mail.gmail.com> <42DDF238.8090601@opencloud.com> <24020.1121881295@sss.pgh.pa.us> <90876a9e05072010475d161b94@mail.gmail.com> Mime-Version: 1.0 (Apple Message framework v733) Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed Message-Id: Cc: Tom Lane , Kris Jurka , Oliver Jowett , pgsql-jdbc@postgresql.org Content-Transfer-Encoding: 7bit From: Dave Cramer Subject: Re: Timestamp Conversion Woes Redux Date: Wed, 20 Jul 2005 14:13:25 -0400 To: Christian Cryder X-Mailer: Apple Mail (2.733) X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=0.039 tagged_above=0 required=5 tests=AWL X-Spam-Level: X-Archive-Number: 200507/188 X-Sequence-Number: 13336 Actually, Java has timezones that postgres doesn't understand, which is why using the server timezone makes more sense. Hopefully java understands all the timezones postgres understands. Dave On 20-Jul-05, at 1:47 PM, Christian Cryder wrote: > On 7/20/05, Tom Lane wrote: > >> Hmm ... does Java have a standard set of timezone names? If so, >> does it >> bear any resemblance to the zic database names? >> > > Yes, you can see them by running this snippet... > > String zones[] = TimeZone.getAvailableIDs(); > for (int i=0; i System.out.println(" "+i+": "+TimeZone.getTimeZone(zones[i])); > } > > No idea how that compares to zic... > > Christian > > ---------------------------(end of > broadcast)--------------------------- > TIP 5: don't forget to increase your free space map settings > >