Datetime as a time_t?

From: Ryan Bradetich <ryan_bradetich(at)hp(dot)com>
To: pgsql-sql(at)postgresql(dot)org
Subject: Datetime as a time_t?
Date: 2000-04-06 16:27:00
Message-ID: 38ECBAD4.E13DD27B@hp.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-sql

Hello,

Does anyone know how to extract a datetime field as a time_t?
My understanding is that PostgreSQL stores dates internally
as a time_t, but I have not figured out how to extract them in
that format.

I have looked at the casting, and the set datestyles so far.
Any ideas?

Thanks,

-Ryan

P.S. I am using PostgreSQL 6.5.3

Responses

Browse pgsql-sql by date

  From Date Subject
Next Message Frank Bax 2000-04-06 17:22:16 update only if single row
Previous Message Antonio W. Lagnada 2000-04-06 15:15:39 Re: libpq