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 53CA9329EFC for ; Thu, 16 Sep 2004 09:51:44 +0100 (BST) 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 12528-02 for ; Thu, 16 Sep 2004 08:51:33 +0000 (GMT) Received: from mail63.csoft.net (leary3.csoft.net [63.111.22.74]) by svr1.postgresql.org (Postfix) with SMTP id DB00A329E76 for ; Thu, 16 Sep 2004 09:51:33 +0100 (BST) Received: (qmail 14361 invoked by uid 1112); 16 Sep 2004 08:40:31 -0000 Date: Thu, 16 Sep 2004 03:40:31 -0500 (EST) From: Kris Jurka X-X-Sender: books@leary.csoft.net To: Simon Moses Cc: pgsql-jdbc@postgresql.org Subject: Re: Date format problem In-Reply-To: <20040916075203.18383.qmail@web14922.mail.yahoo.com> Message-ID: References: <20040916075203.18383.qmail@web14922.mail.yahoo.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=1.2 tagged_above=0.0 required=5.0 tests=DEAR_SOMETHING X-Spam-Level: * X-Archive-Number: 200409/79 X-Sequence-Number: 10969 On Thu, 16 Sep 2004, Simon Moses wrote: > dear sir, > i am getting date in 'yyyy-mm-dd' format when i use > rs.getDate() method. i want it to be in 'dd/mm/yyyy' > format. This is the format that the Date class' toString() method uses, so this is an application thing, not a driver property. See java.text.SimpleDateFormat. Kris Jurka