Received: from mail1.expertrade.com (r87-43-dsl.sea.lightrealm.net [216.122.43.87]) by mail.postgresql.org (8.11.1/8.11.1) with ESMTP id f24NWUx90412 for ; Sun, 4 Mar 2001 18:32:30 -0500 (EST) (envelope-from d.wall@computer.org) Received: from reggae (reggae.expertrade.com [216.122.43.90]) by mail1.expertrade.com (8.9.3/8.9.3) with SMTP id PAA14947 for ; Sun, 4 Mar 2001 15:32:28 -0800 Message-ID: <002701c0a503$64838640$5a2b7ad8@expertrade.com> Reply-To: "David Wall" From: "David Wall" To: References: <20010304225020.12038.qmail@web214.mail.yahoo.com> Subject: JDBC timestamps with timezones Date: Sun, 4 Mar 2001 15:32:35 -0800 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.50.4522.1200 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4522.1200 X-Archive-Number: 200103/39 X-Sequence-Number: 1200 In reading about how Timestamps are stored in Postgresql 7.1 (they are stored in GMT based on the TZ in effect on the server running the backend), I was wondering how this impacts JDBC. We want to be able to retrieve timestamps from the database and then show them to invididual users based on their specified timezone which we know in advance. With Java, I can take a Date/Calendar and get the current time using a specified TimeZone object. Does the JDBC then know to always retrieve the timestamp and keep it internally as GMT, too so that all the time zone stuff will work? Thanks, David