How To Add 17 Business Days from a given date

Hi

Please help me to find out how to get 17 business days for a given date excluding sat and sun.

Hi!

Have a view on this thread…

Component:

Regards,
NaNi

HI @Abhi15

Check out this custom activity in the MarketPlace

Try below logic in uipath

while (daysToAdd > 0)
    {
        date = date.AddDays(1);

        if (date.DayOfWeek != DayOfWeek.Saturday && date.DayOfWeek != DayOfWeek.Sunday)
        {
            daysToAdd -= 1;
        }
    }

Regards,
Arivu