Carrot reference
Functions

daysOffBetween()

returns the number of days off taken between two given dates syntax daysoffbetween(fromdate, todate) fromdate the date from which to begin counting number of days off todate the date at which counting stops return type number docid\ uci5tctfvbhonej6zqijg sample usage daysoffbetween('2020 10 12', '2020 11 12') returns the number of days off taken during the specified one month period supported data types input type return type logic date docid\ xtaqdzvlbtakjxrnpfwe9 (x2) number docid\ uci5tctfvbhonej6zqijg the function will count the number of days off beginning with fromdate , and ending with todate unsupported data types null docid\ n9trvqonnbknql9drnbp6 unsupported data types return null