Page 1 of 1

Counting only workdays between dates

Posted: Thu Oct 08, 2020 8:50 pm
by Jcoffman7
I am wanting to count days between two dates and only include workdays. Below is my original expression, I am just unsure how to go about excluding the weekend days from the count.

{(((ER_Report_Count.Relation.Relation2.Date_as_Date - ER_Report_Count.Relation.Date_as_Date).TotalDays))}

Re: Counting only workdays between dates

Posted: Fri Oct 09, 2020 5:45 am
by HighAley
Hello,

There is no easy way to do it in our tool.
But you could add your custom function like this:
https://stackoverflow.com/questions/161 ... -two-dates

Thank you.