| From: | Michael Meskes <Michael_Meskes(at)topmail(dot)de> |
|---|---|
| To: | pgsql-interfaces(at)postgreSQL(dot)org |
| Subject: | Re: [INTERFACES] Newbie Q: How to deal with date/time with libpq or ecpg? |
| Date: | 1999-02-24 20:36:40 |
| Message-ID: | 19990224213640.A2636@gmx.net |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | 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(dot)Meskes(at)gmx(dot)net | Use PostgreSQL!
| Attachment | Content-Type | Size |
|---|---|---|
| test2.pgc | text/plain | 3.3 KB |
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Tobias Eriksson | 1999-02-24 22:15:45 | SV: SV: [INTERFACES] couldn't start postmaster - couldn't allocate sharedmemory |
| Previous Message | Valerio Santinelli | 1999-02-24 16:27:55 | Re: [INTERFACES] xmin field in a newly created table. |