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: (view raw, whole thread or download thread mbox)
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.


Tena Sakai


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-2017 The PostgreSQL Global Development Group