Diff Function

Number of input and output field

Number of input field : Two
Number of output field : One

This transformation function is used to calculate the difference between two dates (date1 and date2). The result is a double value representing the number of days between date1 and date2.