Re: Converting epoch to timestamp

From: Christopher Kings-Lynne <chriskl(at)familyhealth(dot)com(dot)au>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: Michael Glaesemann <grzm(at)myrealbox(dot)com>, Hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Converting epoch to timestamp
Date: 2004-07-16 06:08:39
Message-ID: 40F770E7.3080206@familyhealth.com.au
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

>>SELECT EXTRACT(EPOCH FROM TIMESTAMP '2003-01-01 11:23:44');
>
>
> Yeah, but I think Michael's question had to do with going the other
> way (numeric to timestamp).

Sorry,

SELECT EXTRACT(TIMESTAMP FROM EPOCH '123412341234');

Chris

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Christopher Kings-Lynne 2004-07-16 06:09:33 Re: XLogWrite: write request 0/53A4000 is past end of log
Previous Message Christopher Kings-Lynne 2004-07-16 06:01:24 schema dumping