On Fri, Apr 23, 2004 at 11:46:52AM +0300, Alexei Chetroi wrote: > Date: Fri, 23 Apr 2004 11:46:52 +0300 > From: Alexei Chetroi <[EMAIL PROTECTED]> > User-Agent: Mutt/1.5.5.1+cvs20040105i > To: [EMAIL PROTECTED] > Subject: [SQL] converting unix seconds to timestamp > > > Hi, > > I wish to convert unix seconds which are from 1970 to timestamp and connot > find appropriate function for it. I know how to convert timestamp to unix > second with extract(epoch FROM ...) but not reverse.
Sorry, already found answer to my question: SELECT TIMESTAMP WITH TIMEZONE 'epoch' + 1082709745 * interval '1 second'; Thanks -- Alexei Chetroi ---------------------------(end of broadcast)--------------------------- TIP 7: don't forget to increase your free space map settings