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

Home -> Community -> Mailing Lists -> Oracle-L -> RE: subtract minute from date/time

RE: subtract minute from date/time

From: Stephane Faroult <sfaroult_at_oriolecorp.com>
Date: Thu, 11 Apr 2002 03:33:20 -0800
Message-ID: <F001.00441734.20020411033320@fatcity.com>

 ('binary' encoding is not supported, stored as-is)

The only way Oracle understands date computations is through operations on a number of days - or fractions of days, assumed to be plain 24 hour days of 3600 second hours (no 23h 56mn there). To remove a minute, you take a date and substract the fraction of day equal to a minute - eg 1 / (24 * 60).

>----- Original Message -----
>From: John Dunn <john.dunn_at_sefas.co.uk>
>To: Multiple recipients of list ORACLE-L
><ORACLE-L_at_fatcity.com>
>Sent: Thu, 11 Apr 2002 03:08:18
>
>I want to subtract a minute from a date/time
>
>How can I do this?
>
>John
>
>--
>Please see the official ORACLE-L FAQ:
>http://www.orafaq.com
>--
>Author: John Dunn
> INET: john.dunn_at_sefas.co.uk
>
>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).
>---------------------------------------------------
>-----------------

Stephane Faroult
Oriole Corporation
Performance Tools & Free Scripts



http://www.oriole.com, designed by Oracle DBAs for Oracle DBAs
-- 
Please see the official ORACLE-L FAQ: http://www.orafaq.com
-- 
Author: Stephane Faroul
  INET: sfaroult_at_oriolecorp.com

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 - 06:33:20 CDT

Original text of this message

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