Re: SET DATESTYLE to time_t style for client libraries?

Tom Lane <tgl@sss.pgh.pa.us>

From: Tom Lane <tgl@sss.pgh.pa.us>
To: Adam Haberlach <adam@newsnipple.com>
Cc: pgsql-hackers@postgresql.org
Date: 2002-01-03T15:05:24Z
Lists: pgsql-hackers
Adam Haberlach <adam@newsnipple.com> writes:
> Is there a better way?

	SELECT EXTRACT(epoch FROM timestamp-value)

			regards, tom lane