diffDays(<Date>, <Date>) : Number
The diffDays function is used to return the difference, in days, between the two specified date parameters.
When you use static dates, you need to enclose the value with the # symbol. The date should be in the following format - dd/mm/yyyy hh:mm
diffDays(#01/02/2021 12:00#, #05/02/2021 12:00#) => 4
Learn more about how you can get started using the Formula Field.
Type above and the results will be displayed here.