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

Home -> Community -> Usenet -> c.d.o.misc -> Re: Date function that leaves only the time?

Re: Date function that leaves only the time?

From: Turkbear <john.g_at_dot.spamfree.com>
Date: Mon, 08 Dec 2003 12:41:42 -0600
Message-ID: <1ch9tvos99vfvn39859np59iviv2fklk7t@4ax.com>


Mark.Wright_at_bristol.ac.uk wrote:

>I'm looking for a function that is essectially the opposite of
>TRUNC(). I.e., I have full date-time fields, but I only care about the
>time. If I select TRUNC(column) I can get only records on a date, but I
>want only records in a time-range (e.g. 5pm-6pm), regardless of date. How
>can I do this easily?
>Cheers,
>Mark

Look at the TO_CHAR function's date format masks in the docs..

Hint('HH24:MI:SS') Received on Mon Dec 08 2003 - 12:41:42 CST

Original text of this message

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