Given date is working day or not

Hi Friends,

I have one date in ddMMyyyy format and i want to check the given date is working day or not in UiPath
for example date is : 19042022

Hi @Rup_1

what do you mean by working here? do we have any calendar or we have to check if its a weekend ? or something else

Thanks

Hi @Shikhar_Tandon,

Yes, we need to check for weekend.

Hi @Rup_1,

Have you had a chance to review this issue?

Regards,
MY

Not {0,6}.Contains(DateTime.ParseExact(YourStringVar,"ddMMyyyy", System.Globalization.CultureInfo.InvariantCulture).DayOfWeek)

for weekend days (SUN, SAT) it will return false, for other days it will return true