Hi Team,
Hope you are well.
I need help.
I have two date fields.
a) Cntr_creation_date
b) Issue date
My workflow should have a formula tool which can calculate and display records that were entered more than 2 days
(excl. weekends and public holidays) after the Cntr_creation_date. Means the contracts which are entered in the system after 2 days of actually creating the contract.
i think there it should be difference between the Cntr_creation_date and the Issue date.
i have a formula below can you please let me know if this does the same thing,
((DateTimeDiff([ISSUEDATE],[Cntr_creation_date],"days")*5 - (ToNumber(DateTimeFormat([Cntr_creation_date], "%w"))-ToNumber(DateTimeFormat([ISSUEDATE], "%w")))*2) / 7) + IIF(DateTimeFormat([ISSUEDATE], "%w")=="6",-1,0) +
IIF(DateTimeFormat([Cntr_creation_date], "%w")=="0",-1,0)
Thanks
SR