i am getting a null on subtracting 2 dates...
i am trying to subtract 2 dates
using the following query
select
TO_DATE( TO_CHAR(TRUNC(SYSDATE-1),'mm/dd/yyyy')||' 07:35:33 AM','MM/DD/YYYY HH:MI:SS AM')+10/1440
-
(TO_DATE( TO_CHAR(TRUNC(SYSDATE-1),'mm/dd/yyyy')||' 08:35:33 AM', 'MM/DD/YYYY HH:MI:SS AM')+10/1440)
from dual
but the result is null...
why????
i want to get the subtraction of the 2..how to get it??