date format question. - Mailing list pgsql-interfaces

From christopher baus
Subject date format question.
Date
Msg-id 09b801bfc36f$32b0d8a0$9500a8c0@styleadvisor.com
Whole thread Raw
List pgsql-interfaces
Hi all,

I just started using postgreSQL 7.0 and the JDBC 1.1 driver with apache's
turbine project.  I am a bit confused by your date handling.  Turbine uses
timestamp fields to stamp user login/logout.  The driver allows me to set
the login in the following format : 2000-05-21 02:04:12.33-04

When I requery the field the driver throws an invalid date format exception.
I would like to be able to be assured that a java date will be transformed
to the proper format.  I'm not an expert in the JDBC spec,
but it seems the other drivers I've tried do this.

~christopher





pgsql-interfaces by date:

Previous
From: Lamar Owen
Date:
Subject: Re: pgbash-2.1 released
Next
From: Arcady Genkin
Date:
Subject: emacs and postgres on another host