good afternoon
My question is this: I need to calculate the time between two dates, but with the condition that for example if the first date is 01/20/2014 4:00:00 and the second is 01/21/2014 : 1:30:00 then the result should be:
01/20/2014 = 20 hours 01/21/2014 = 2.5 hours
and in the same way if the date range is wider for example a week etc..
I've managed to tell the difference plsql enter two date but not with this condition to know how much was the difference for each day.
Any idea how to approach this question? Whether in plsql or java CODES
Thank you in advance for your attention