Hi all,
I need a method of calculating the number of days that have elapsed between two dates. It's to work out the amount of fines payable on an overdue book. So for example, if someone takes a book out that is due back on 02-May-02 (the data format using Oracle's sysdate) and brings it back on 04-May-02 there's two days fine payable. I just need the number of days between the due back date and the actual return date so I can caluculate the fine amount.
Cheers for any help!!
I need a method of calculating the number of days that have elapsed between two dates. It's to work out the amount of fines payable on an overdue book. So for example, if someone takes a book out that is due back on 02-May-02 (the data format using Oracle's sysdate) and brings it back on 04-May-02 there's two days fine payable. I just need the number of days between the due back date and the actual return date so I can caluculate the fine amount.
Cheers for any help!!