Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Usenet -> c.d.o.server -> Re: external function

Re: external function

From: Thomas Kyte <tkyte_at_us.oracle.com>
Date: Wed, 29 Dec 1999 15:00:24 -0500
Message-ID: <32qk6skg8tjlp39qsm8vtub156ipfiuol9@4ax.com>


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

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US