how to calculate the time difference in oracle?
select (endingDateTime - startingDateTime) * 1440 from table_name; Since taking the difference between two dates in Oracle returns the difference in fractional days, you need to multiply the result by 1440 to translate your result into elapsed minutes.