I’m trying to find the most efficient way to code this.
IF Date.Now.DayOfWeek.ToString = "Friday" OR Saturday Then the new date should become the Monday that follows.
The date needs to be returned as a short date string so that it
can be entered into the date field on the application form that I’m automating.
This is what I was going to do, but I feel like maybe someone has a better way of doing this.
IF dayofweek = friday Date.Add(3 days) ELSE IF dayofweek = saturday Date.Add(2 days) Else It's not the weekend yet.