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.
Can you please help me understanding each expression,
1) ((DateTimeDiff([ISSUEDATE],[Cntr_creation_date],"days")*5 -
2) (ToNumber(DateTimeFormat([Cntr_creation_date], "%w")) -
3) ToNumber(DateTimeFormat([ISSUEDATE], "%w")))*2) / 7) +
4) IIF(DateTimeFormat([ISSUEDATE], "%w")=="6",-1,0) +
5) IIF(DateTimeFormat([Cntr_creation_date], "%w")=="0",-1,0)
Thanks
SR