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 AEF6D52BCA for ; Thu, 14 Jul 2005 19:41:32 -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 18610-05 for ; Thu, 14 Jul 2005 22:41:29 +0000 (GMT) Received: from net2.micro-automation.com (net2.micro-automation.com [64.7.141.29]) by svr1.postgresql.org (Postfix) with SMTP id 12CA95287D for ; Thu, 14 Jul 2005 19:41:28 -0300 (ADT) Received: (qmail 24879 invoked from network); 14 Jul 2005 22:41:31 -0000 Received: from dcdsl.ebox.com (HELO ?192.168.1.2?) (davec@64.7.143.116) by net2.micro-automation.com with SMTP; 14 Jul 2005 22:41:31 -0000 In-Reply-To: <90876a9e0507141225196ea488@mail.gmail.com> References: <90876a9e0507141122463cb054@mail.gmail.com> <138BE1E1-0639-4C3A-AE65-0997000E5613@fastcrypt.com> <90876a9e0507141225196ea488@mail.gmail.com> Mime-Version: 1.0 (Apple Message framework v733) Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed Message-Id: <00A0FDC4-D515-4487-85AE-931C81EDF21F@fastcrypt.com> Cc: pgsql-jdbc@postgresql.org Content-Transfer-Encoding: 7bit From: Dave Cramer Subject: Re: Timezone conversion woes Date: Thu, 14 Jul 2005 18:41:29 -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.016 tagged_above=0 required=5 tests=AWL X-Spam-Level: X-Archive-Number: 200507/89 X-Sequence-Number: 13237 When you create the column in the database do create table foo( t timestamp without time zone ) Dave On 14-Jul-05, at 3:25 PM, Christian Cryder wrote: > On 7/14/05, Dave Cramer wrote: > >> Yeah, create your timestamps without timezones and they will not be >> converted. >> > > Dave, how exactly do you do this? Especially if I am trying to read a > date out of the db (there is no timezone info there, but by the time I > access the data via ps.getDate() its already there). > > Any suggestions would be greatly appreciated. > > Thanks, > Christian > > ---------------------------(end of > broadcast)--------------------------- > TIP 6: explain analyze is your friend > >