Received: from proxy.vgs.com (proxy.vgsinc.com [209.48.221.10]) by hub.org (8.9.3/8.9.3) with ESMTP id NAA67200 for ; Mon, 10 May 1999 13:21:44 -0400 (EDT) (envelope-from apendleton@vgsinc.com) Received: from fms28.belvoir.army.mil by proxy.vgs.com with SMTP (Microsoft Exchange Internet Mail Service Version 5.0.1460.8) id KVCVTP61; Mon, 10 May 1999 13:29:15 -0400 Message-ID: <001f01be9b03$64b82730$bdd0be80@belvoir.army.mil> From: "Adam H. Pendleton" To: Subject: Java and PGSQL date question Date: Mon, 10 May 1999 12:37:24 -0400 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.00.2014.211 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2014.211 I am trying to pass a date from Java into a PostgreSQL database. I am using the DateFormat.parse() funcitonality to format the date. However, the database doesn't want to take it? I looked at the PGSQL documentation and it says that the default date type is postgresql date type, which is: Wed Dec 17 07:37:16 1997 PST. Java is sending the date in this format: Wed Dec 17 07:37:16 PST 1997. How do I make this work. Is it easier to change the Java format or the PGSQL format? Adam ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Si hoc legere scis nimium eruditionis habes.