Re: Converting epoch to timestamp

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Christopher Kings-Lynne <chriskl(at)familyhealth(dot)com(dot)au>
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 05:18:40
Message-ID: 16157.1089955120@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Christopher Kings-Lynne <chriskl(at)familyhealth(dot)com(dot)au> writes:
> I would actually prefer this syntax:

> 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).

regards, tom lane

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message lists 2004-07-16 05:21:44 XLogWrite: write request 0/53A4000 is past end of log 0/53A4000
Previous Message Justin Clift 2004-07-16 05:14:38 Re: pg_dump - option for just dumping sequences?