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: database date fields

Re: database date fields

From: Jonathan Gennick <gennick_at_worldnet.att.net>
Date: Sun, 26 Jul 1998 17:39:28 GMT
Message-ID: <6pfpku$ank@bgtnsc03.worldnet.att.net>


On Thu, 23 Jul 1998 23:06:49 -0500, Hari Thanigaraj <hari_at_cardsfellow.wustl.edu> wrote:

>A funtion to extract the datepart alone
>from the database field perhaps ?

You can use the TRUNC function to do this. For example:

select trunc(sysdate) from dual;

The above will return only the date, not the time.

Jonathan Received on Sun Jul 26 1998 - 12:39:28 CDT

Original text of this message

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