Check if a datetime is weekend

Hi, how do you identify if a DateTime variable is referring to a weekend or not? Thanks

2 Likes

Hi @DEATHFISH

you can use this.Just declare a variable of datetime then check if it saturday or sunday if not then its not weekend :smiley:

image

cheers :smiley:

Happy learnng.

3 Likes

Hi @DEATHFISH,

Check this xaml,

CheckWeekend.xaml (4.7 KB)

1 Like