Carrot reference
Functions
diffMonths()
returns the total number of months between two given dates syntax diffmonths(date1, date2) date1 the date from which counting begins date2 the date at which counting ceases return type docid\ uci5tctfvbhonej6zqijg sample usage diffmonths('2021 10 11', '2021 11 11') returns 1 supported data types input type return type logic docid\ xtaqdzvlbtakjxrnpfwe9 (x2) docid\ uci5tctfvbhonej6zqijg the function will count the number of months beginning with date1 , and ending with date2 unsupported data types docid\ n9trvqonnbknql9drnbp6 unsupported data types return null
