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

Re: SET DATESTYLE to time_t style for client libraries?

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Adam Haberlach <adam(at)newsnipple(dot)com>
Cc: pgsql-hackers(at)postgresql(dot)org
Subject: Re: SET DATESTYLE to time_t style for client libraries?
Date: 2002-01-03 15:05:24
Message-ID: 12650.1010070324@sss.pgh.pa.us (view raw or flat)
Thread:
Lists: pgsql-hackers
Adam Haberlach <adam(at)newsnipple(dot)com> writes:
> Is there a better way?

	SELECT EXTRACT(epoch FROM timestamp-value)

			regards, tom lane

In response to

pgsql-hackers by date

Next:From: Thomas LockhartDate: 2002-01-03 15:11:13
Subject: Re: PGSQL - FAQ 4.1
Previous:From: Reinoud van LeeuwenDate: 2002-01-03 14:11:11
Subject: setof (more than one column)

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