any way to convert date via libpq?

From: "Tena Sakai" <tsakai(at)gallo(dot)ucsf(dot)edu>
To: <pgsql-admin(at)postgresql(dot)org>
Subject: any way to convert date via libpq?
Date: 2009-03-11 02:43:01
Message-ID: FE44E0D7EAD2ED4BB2165071DB8E328C0378F7CE@egcrc-ex01.egcrc.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

Hi Everybody,

I have a C program to read a postgres table. One of
the columns of this table is defined as:

timestamp without time zone

Is there any routine/function that I can use to convert
this field/column value into unix/linux style date for
comparison purpose?

Thank you.

Regards,

Tena Sakai
tsakai(at)gallo(dot)ucsf(dot)edu

Responses

Browse pgsql-admin by date

  From Date Subject
Next Message Scott Marlowe 2009-03-11 04:55:52 Re: any way to convert date via libpq?
Previous Message Shoaib Mir 2009-03-10 23:30:50 Re: how to figure out how long a query takes in the pg log file...