Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Mailing Lists -> Oracle-L -> RE: unix time conversion function
Nevermind,
Once I thought about it for more than 30 seconds, I got it.
TO_DATE('01/01/1970','MM/DD/YYYY') + <SECONDS> / 86400
easy as 3.141592654
-----Original Message-----
Sent: Friday, January 24, 2003 2:12 PM
To: 'oracle-l_at_fatcity.com'
Anybody got a handy little function to
convert a standard unix seconds-since-Jan-1970 epoch
time (stored as a number) to a readable date?
It would save me a lot of time not having to re-invent the wheel.
Matt
--
Please see the official ORACLE-L FAQ: http://www.orafaq.net
--
Author: Adams, Matthew (GECP, MABG, 088130)
INET: MATT.ADAMS_at_APPL.GE.COM
Fat City Network Services -- 858-538-5051 http://www.fatcity.com San Diego, California -- Mailing list and web hosting services ---------------------------------------------------------------------To REMOVE yourself from this mailing list, send an E-Mail message to: ListGuru_at_fatcity.com (note EXACT spelling of 'ListGuru') and in the message BODY, include a line containing: UNSUB ORACLE-L (or the name of mailing list you want to be removed from). You may also send the HELP command for other information (like subscribing). Received on Fri Jan 24 2003 - 13:39:26 CST
![]() |
![]() |