I'm aware there are lots of posts on this topic, just can't seem to find the right one to suit my query ! 🙂
I'm looking to find the number of business/week days between two dates. One date is in a datepicker field and the other one is a text field which is being dynamically converted to a date field in the forumula. It's working fine for me to get the number of days using:
"Days Open: " & DateDiff(DateValue(DCVCreated.Text),dateToday.SelectedDate,Days)
DCVCreated is a text field and dateToday is a date field
That's fine returns the actual number of days between those two dates, However I only want the week days counted and have been trying to figure that out using the info here
https://powerapps.microsoft.com/es-es/blog/excluding-weekends-and-holidays-in-date-differences-in-powerapps/
but I just can't seem to get the syntex right..
Any ideas?
many thanks