It looks like you're new here. Sign in or register to get started.
intNoOfDays := datLastDate - datFirstDate;
Comments
If you don't want to have weekends, holidays etc you will have to check in the base calendar. There are a few topics on this.
If you only want days regardless of the above then yes you can use what you suggested in your post.
Albert
Tino Ruijs
Microsoft Dynamics NAV specialist