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

Home -> Community -> Usenet -> c.d.o.tools -> Re: UTC date conversion

Re: UTC date conversion

From: Mark D Powell <markp7832_at_my-deja.com>
Date: 2000/04/12
Message-ID: <8d27nq$r6l$1@nnrp1.deja.com>#1/1

In article <38F3A023.38B3C03A_at_americasm01.nt.com>,   "Walker, Barry (EXCHANGE:CAR:5J42)" <bwalker_at_americasm01.nt.com> wrote:
> HI..i have a UTC time value in a varchar field...on a select how do i
> convert this value to a date such a dd-Month-yy hh:mm
>
> --
> Barry Walker
>

What is a UTC time value?

Here is some sql to convert an Oracle Date to a number where the number is a reference from some starting date and back like in 'C'.

rem
rem Convert Oracle date to number of seconds since reference date rem
select to_number(sysdate - to_date('01-JAN-1970','DD-MON-YYYY'))

If this is not helpful please re-post with an explanation.

--
Mark D. Powell  -- The only advice that counts is the advice that
 you follow so follow your own advice --


Sent via Deja.com http://www.deja.com/
Before you buy.
Received on Wed Apr 12 2000 - 00:00:00 CDT

Original text of this message

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