Friday, March 07, 2008

Getting the difference between dates

Getting the difference between dates: "Frequently we are asked -- how can I find the number of minutes between two dates or what is the amount of elapsed time. With Oracle Dates, this is pretty trivial, you can get either TOTAL (days, hours, minutes, seconds) between 2 dates simply by subtracting them or with a little mod'ing you can get Days/Hours/Minutes/Seconds between."