Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Usenet -> c.d.o.misc -> converting timestamp in milliseconds to date or vice-versa in oracle
hey folks,
we have a varchar2 col which stores the timestamps (records r added frm
java app which logs the currentTimeInMillis on that System)
now i want to write a procedure which will delete records older than
say 45 days
i can get the current date using sysdate but this is in DATE format
whereas my column is in varchar2 (also the value is in millis)
how do i convert from millis to date or vice-versa
regards
amey
Received on Fri Feb 04 2005 - 08:04:44 CST