There's no standard C/AL function for this (MBerger's calculation gives actual days, not 30 days per month), and I don't know of a standard codeunit that provides this either.
So you need to do it yourself. Dissect the dates using DAT2DMY and apply standard corrections and formulae to get interest days.
Comments
So you need to do it yourself. Dissect the dates using DAT2DMY and apply standard corrections and formulae to get interest days.
Some links that might be helpful:
http://en.wikipedia.org/wiki/Day_count_convention (formulae)
http://de.wikipedia.org/wiki/Zinsberechnungsmethode (German description of different calculation types)
http://www.isda.org/c_and_a/trading_practice.html (Excel calculations)
Regards