Re: Date format problem

From: Kris Jurka <books(at)ejurka(dot)com>
To: Simon Moses <ks_moses(at)yahoo(dot)com>
Cc: pgsql-jdbc(at)postgresql(dot)org
Subject: Re: Date format problem
Date: 2004-09-16 08:40:31
Message-ID: Pine.BSO.4.56.0409160338470.20135@leary.csoft.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-jdbc

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

In response to

Browse pgsql-jdbc by date

  From Date Subject
Next Message Kris Jurka 2004-09-16 09:00:45 Re: multiple out parameters implementation
Previous Message Simon Moses 2004-09-16 07:52:03 Date format problem