I have 2 date fields. Like 01.02.2014 and 11.02.2014. I have to calculate the interest on the number of days between these two dates.
data: a type I,
date1 type sy-datum value 01.02.2014,
date2 type sy-datum value 11.02.2014.
a = date2 - date1.
It is coming as 10 (11-1), However, I need to calculate the interest on 11 days.
How to calculate the correct number of days?