Function with input parameters

As I am from Denmark I will be writing in English :slight_smile:

Is it possible to have a Function with input parameters ?

I have several groups of From- and To-date, for which I should find the numbers of days between the dates. Normally it will need a function for each set of From- and To-date, but it would be nice to have only one function which can take the dates as input parameters.