Re: Epoch time to Oracle time...help needed

From: Maurício Bellissimo Falleiros <mbf_at_uniconsult.com.br>
Date: Mon, 04 Oct 1999 17:36:48 -0300
Message-ID: <37F90FDF.51CBDD1F_at_uniconsult.com.br>


Hi Jim,

Oracle allows you to add a (integer or fraction) number of days to a date.
So, if X is your fixed point in time and S is your number of seconds,

X + S/86400

will give you the date represented by S in Oracle's DATE format.

Hope this helps,
Maurício.

-- 
Maurício Bellissimo Falleiros <mailto:mbf_at_uniconsult.com.br>

Uniconsult Sistemas e Serviços <mailto:uss_at_uniconsult.com.br>
R. Demóstenes, 627 cj.134/142 - Campo Belo - São Paulo/SP - 04614-013
Brasil
Fone/Fax: +55-11-5350885 +55-11-5333335

"Em um minuto apenas há tempo
Para decisões e revisões que um minuto revoga."
T.S.Eliot


* Sent from RemarQ http://www.remarq.com * The Internet's Discussion Network *
*  The fastest and easiest way to search and participate in Usenet - Free!   *
Received on Mon Oct 04 1999 - 22:36:48 CEST

Original text of this message