Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Mailing Lists -> Oracle-L -> date format in epoch

date format in epoch

From: Anthony Ettinger <aettinger_at_sdsualumni.org>
Date: Tue, 16 May 2006 12:04:29 -0700
Message-ID: <3fc6b2fb0605161204n2c348201t8583186f80ac7eb8@mail.gmail.com>


I have dates in the database as "seconds since epoch"..

I need to select items where start_time >= epoch(sysdate - 7);

How do I get the sysdate converting to epoch easily within the sql code?

--

Anthony Ettinger
Signature: http://chovy.dyndns.org/hcard.html
--

http://www.freelists.org/webpage/oracle-l Received on Tue May 16 2006 - 14:04:29 CDT

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US