How do you compute the number of days between the dates.
Computing this in FEEL is quite easy, simply use the expression
ToDate - FromDate
This will return a feel "days and time duration".
To retrieve the number of days as an integer simply add .days
(ToDate - FromDate).days
