Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Usenet -> c.d.o.server -> Re: external function
A copy of this was sent to maylee <mayleel_at_my-deja.com>
(if that email address didn't require changing)
On Wed, 29 Dec 1999 19:21:19 GMT, you wrote:
>Help!!
>
>I am creating a view the contains a column called "creation_date" from a
>main table.
>
>This date is the numeric representation of a UNIX date (on Solaris). I
>cannot find a "clean" way to conver this date to a date that is
>recognizable to oracle as being a valid date... I have thought of
>creating an external function in C that converts this date to an "ORACLE
>date" but is this the best way???
>
>
>
>
>Sent via Deja.com http://www.deja.com/
>Before you buy.
if you mean the number of seconds since 1/1/1970 gmt, see http://osi.oracle.com/~tkyte/Misc/CTime.html for a to_date that converts it.
--
See http://osi.oracle.com/~tkyte/ for my columns 'Digging-in to Oracle8i'...
Current article is "Part I of V, Autonomous Transactions" updated June 21'st
Thomas Kyte tkyte_at_us.oracle.com Oracle Service Industries Reston, VA USA
Opinions are mine and do not necessarily reflect those of Oracle Corporation Received on Wed Dec 29 1999 - 14:00:24 CST