Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Mailing Lists -> Oracle-L -> Re: subtract minute from date/time
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: volkan_at_apb.com.tr 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: ListGuru_at_fatcity.com (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).Received on Thu Apr 11 2002 - 07:03:26 CDT
![]() |
![]() |