How to check if today is Saturday or Sunday?


#1

Hi everyone!

I’d like to know if there is any way to check if today is Saturday or Sunday in UiPath.

Thanks!


#2

@pal1910 check attached file Main.xaml (6.1 KB)


#3

Simplest line would be -

DateTime.Now.DayOfWeek.ToString

You can have it used anywhere to check what day it is