Hello,
Can any one please help modify my formcalc script to calculate the number of weekdays between two date fields. My script currently calculates the total number of days between two dates, including the weekends which need to be excluded from the total.
if
(HasValue(Start_Date1) & HasValue(End_Date1) ) then
$
= Date2Num(End_Date1, "YYYY-MM-DD", "en_IE") - Date2Num(Start_Date1, "YYYY-MM-DD", "en_IE") + 1 else
""
endif
Any help will be most appreciated.
Thank you.