SQL ScriptEPOC Date |
This converts a UNIX epoc date into a normal date. This is useful for third party applications which store dates as EPOC dates in the database.
EPOC Number
SELECT to_char( TO_DATE('01-JAN-1970','DD-MON-YYYY') + &epoch_num/86400 ,'dd-mon-yyyy hh24:mi:ss') normal_date FROM dual;
Return to Index of SQL Scripts
Home
|
Company Profile
|
Services
|
Contact Us
|
SQL scripts and tips
|
Quiz
|