Forum Discussion
AndrewPatricio
5 years agoQrew Member
I had to do something similar (calculate using working hours and not just regular hours). The way I did this was by creating a very complex set of variables and if statements that increased the hours to subtract depending on how to take into account the non-working hours. In my case this was in a single day so I only had to take into account an 8 hour work day. But you could do something similar using "DayofWeek" for your problem. It's brute force, but it works.
------------------------------
Andrew Patricio
------------------------------
------------------------------
Andrew Patricio
------------------------------
JenHamilton_Tye
5 years agoQrew Trainee
I thought that might be the answer. I often feel like I'm making things more complex than they have to be, "WeekdayAdd" works so well on dates that I hoped there was an easier answer.
------------------------------
Jen Hamilton
------------------------------
------------------------------
Jen Hamilton
------------------------------