Skip to Content
0
Former Member
Feb 26, 2014 at 06:27 AM

Calculate no. of days based on Dates

52 Views

Hi Experts,

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.

ex-

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?

Regards

Mani