Skip site navigation (1) Skip section navigation (2)

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 (view raw or flat)
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

pgsql-admin by date

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

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group