I had a look at that one as well, but since I need it for a lot of different weekdays it was very unreliable.
Especially since it can be any given week of the year and combined with a weekday.
In my workflow you mean? Yes I can add more, but from the input I cannot add anything, so need to process it in UiPath if possible. Otherwise I will solve it in Excel, even if that is less elegant.
This is the first assignment statement, which uses the Calendar to add weeks to the first day of the year. Note that we add one less than the week supplied because Jan 1st is already in week one.
The second assignment statement shifts the day to Sunday (Day 0), adds the day value to get to the right day of the week (after converting the day name to a number), and then adds the number of hours. The hours that you want will need to be in military format though (6:00 for 6AM, 18:00 for 6PM, etc).