Re: [INTERFACES] Access'97 and ODBC

Byron Nikolaidis <byronn@insightdist.com>

From: Byron Nikolaidis <byronn@insightdist.com>
To: "Jose' Soares Da Silva" <sferac@bo.nettuno.it>
Cc: "Julia A.Case" <julie@hub.org>, "Jose' Soares Da Silva" <sferac@proxy.bazzanese.com>, interfaces postgres <pgsql-interfaces@postgreSQL.org>
Date: 1998-04-27T14:40:17Z
Lists: pgsql-hackers
Hello,

The ODBC driver can not yet handle multiple datestyle formats.  Currently,
it expects dates to be in US format.  There will be a future option that
allows you to configure that for the driver or per datasource.

Byron


Jose' Soares Da Silva wrote:

> Thanks Julie. Now it works, but now I have a little problem about
> date formats.
> I have a table with field1 DATE and field2 TIMESTAMP. If I insert data
> into these fields, field2 looks OK, but Access97 show me a strange
> date on field1.
>
> This is Access97 output:
>                  field1: 27/7/99
>                  field2: 1998-04-27 12:20:21+02
>
> This is psql output:
>                  Field | Value
>                  -- RECORD 0 --
>                  field1| 1998-04-27
>                  field2| 1998-04-27 12:20:21+02
> ----
> PS: My DateStyle is setting to 'ISO'
>                                                          Jose'