Try this query:

select to_char (sysdate - (1/(24*60) * 5),'HH24:MI:SS') from dual;
                                       ^
this subtracts 5 mins from current date time.





On Thu, 11 Apr 2002, John Dunn wrote:

> 
> 
> I want to subtract a  minute from a date/time
> 
> How can I do this?
> 
> John
> 
> 

-- 
Volkan
YILDIRIM
Ankara Patent Bureau Ltd.


-- 
Please see the official ORACLE-L FAQ: http://www.orafaq.com
-- 
Author: Volkan YILDIRIM
  INET: [EMAIL PROTECTED]

Fat City Network Services    -- (858) 538-5051  FAX: (858) 538-5051
San Diego, California        -- Public Internet access / Mailing Lists
--------------------------------------------------------------------
To REMOVE yourself from this mailing list, send an E-Mail message
to: [EMAIL PROTECTED] (note EXACT spelling of 'ListGuru') and in
the message BODY, include a line containing: UNSUB ORACLE-L
(or the name of mailing list you want to be removed from).  You may
also send the HELP command for other information (like subscribing).

Reply via email to