pg.ddx.io  pgsql-odbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Keith Gray <keith@heart.com.au>
To: Hiroshi Inoue <Inoue@tpf.co.jp>
Cc: ODBC PostgreSQL <pgsql-odbc@postgresql.org>
Subject: Re: Timestamp Error
Date: Thu, 26 Sep 2002 10:54:13 +1000
Message-ID: <3D925AB5.2010203@heart.com.au> (raw)
References: <3D8FED45.7000103@heart.com.au>
	<3D90FB70.3E67C9D2@tpf.co.jp>

Hiroshi Inoue wrote:

>>We have moved from 7.1 to 7.2
>>Bad timestamp external representation ' '

VB6 ADO

ThisValue is a string like '2001-03-30' (*note non-US)
------------------------------------------------------------------

Select Case fldField.Type
  Case adDate, adDBDate, adDBTime, adDBTimeStamp
  If IsDate(ThisValue) Then
    fldField.Value = CDate(ThisValue)
  End If

------------------------------------------------------------------

The above was working with 7.1

Sorry, ipgsql works OK.
Have tested with pgAdmin2 no problems, but doesn't
show time portion of datetime (timestamp)




-- 

Keith Gray
Technical Services Manager
Heart Consulting Services





view thread (5+ messages)

Message-ID: <3D925AB5.2010203@heart.com.au>
Permalink:  ../3D925AB5.2010203@heart.com.au/
Also on:    postgresql.org/message-id/3D925AB5.2010203@heart.com.au

 · 

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-odbc@postgresql.org
  Cc: keith@heart.com.au, Inoue@tpf.co.jp
  Subject: Re: Timestamp Error
  In-Reply-To: <3D925AB5.2010203@heart.com.au>
  References: <3D8FED45.7000103@heart.com.au> <3D90FB70.3E67C9D2@tpf.co.jp> <3D925AB5.2010203@heart.com.au>

* 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