pg.ddx.io  pgsql-interfaces@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Thomas Lockhart <lockhart@alumni.caltech.edu>
To: Carl Shelbourne <Carl.Shelbourne@marconi.com>
Cc: pgsql-interfaces@postgresql.org
Subject: Re: ISO8601 Time and ODBC
Date: Mon, 11 Sep 2000 15:38:48 +0000
Message-ID: <39BCFC88.5629FC7E@alumni.caltech.edu> (raw)
References: <80256952.00549D8D.00@marconicomms.com>

> Does anybody know how I can get the offset to the time returned by Postgres
> using ODBC??, this is not included in the above struct.

select date_part('timezone', timefield)

will do it, so just return another column in the query.

                    - Thomas



view thread (2+ messages)

Message-ID: <39BCFC88.5629FC7E@alumni.caltech.edu>
Permalink:  ../39BCFC88.5629FC7E@alumni.caltech.edu/
Also on:    postgresql.org/message-id/39BCFC88.5629FC7E@alumni.caltech.edu

 · 

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 using the --to and --cc options:
  reply via email

  To: pgsql-interfaces@postgresql.org
  Cc: lockhart@alumni.caltech.edu, Carl.Shelbourne@marconi.com
  Subject: Re: ISO8601 Time and ODBC
  In-Reply-To: <39BCFC88.5629FC7E@alumni.caltech.edu>

* 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