If Invoice date is : 17.06.2007 & payment due date is 02.08.2007

In above please confirm formula of days calculation between above two date.

Regards : avk