Returns the number of days off taken between two given dates.
- fromDate - the date from which to begin counting number of days off.
- toDate - the date at which counting stops.
- Return type: Number
daysOffBetween('2020-10-12', '2020-11-12') returns the number of days off taken during the specified one month period.
Supported data types
The function will count the number of days off beginning with fromDate, and ending with toDate.
Unsupported data types
Unsupported data types return Null.
Updated 03 May 2023
Did this page help you?