Re: [INTERFACES] Newbie Q: How to deal with date/time with libpq or ecpg? - Mailing list pgsql-interfaces

From Michael Meskes
Subject Re: [INTERFACES] Newbie Q: How to deal with date/time with libpq or ecpg?
Date
Msg-id 19990224213640.A2636@gmx.net
Whole thread Raw
In response to Newbie Q: How to deal with date/time with libpq or ecpg?  ("Michael Zhang" <mzhang@ifscorp.com>)
List pgsql-interfaces
On Wed, Feb 24, 1999 at 10:38:42AM -0500, Michael Zhang wrote:
> my web applications use many date/time manipulations. For example, I
> would like to dynamicly display a date of birth column with specified
> format. I could do it on Oracle like this:

I'm not sure about format changing but libpq returns all data as string and
ecpg does put it into a char array without a problem.

I attach an example.

Michael
--
Michael Meskes                         | Go SF 49ers!
Th.-Heuss-Str. 61, D-41812 Erkelenz    | Go Rhein Fire!
Tel.: (+49) 2431/72651                 | Use Debian GNU/Linux!
Email: Michael.Meskes@gmx.net          | Use PostgreSQL!

Attachment

pgsql-interfaces by date:

Previous
From: "David Hartwig"
Date:
Subject: Re: [INTERFACES] Problem with ODBC
Next
From: Matthew Hagerty
Date:
Subject: What's that query limit again?