pg.ddx.io  pgsql-jdbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Kris Jurka <books@ejurka.com>
To: Simon Moses <ks_moses@yahoo.com>
Cc: pgsql-jdbc@postgresql.org
Subject: Re: Date format problem
Date: Thu, 16 Sep 2004 03:40:31 -0500 (EST)
Message-ID: <Pine.BSO.4.56.0409160338470.20135@leary.csoft.net> (raw)
In-Reply-To: <20040916075203.18383.qmail@web14922.mail.yahoo.com>
References: <20040916075203.18383.qmail@web14922.mail.yahoo.com>



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



view thread (2+ messages)

Message-ID: <Pine.BSO.4.56.0409160338470.20135@leary.csoft.net>
Permalink:  ../Pine.BSO.4.56.0409160338470.20135@leary.csoft.net/
Also on:    postgresql.org/message-id/Pine.BSO.4.56.0409160338470.20135@leary.csoft.net

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-jdbc@postgresql.org
  Cc: books@ejurka.com, ks_moses@yahoo.com
  Subject: Re: Date format problem
  In-Reply-To: <Pine.BSO.4.56.0409160338470.20135@leary.csoft.net>
  References: <20040916075203.18383.qmail@web14922.mail.yahoo.com> <Pine.BSO.4.56.0409160338470.20135@leary.csoft.net>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox