Extended formular function datetime\diff
Collapse
X
-
Unlikely to be implemented for this function.
You can use ext\workingTime\getWorkingDays instead: https://docs.espocrm.com/user-guide/...mula-functions
Leave a comment:
-
Extended formular function datetime\diff
Hello Devs,
datetime\diff(VALUE_1, VALUE_2, INTERVAL_TYPE) returns the difference between two dates or datetimes by the given INTERVAL_TYPE.
To calculate only workdays, there should be a attribute for a weekend number like the EXCEL function NETWORKDAYS.INTL.
Please take a look at the added link, for an example implementation.
Best regards
Martin
Leave a comment: