devils5243
New member
- Local time
- Yesterday, 22:20
- Joined
- Jan 3, 2019
- Messages
- 1
Hello,
I run Querys on a weekly basis usually on Tuesdays. I have ones that run every other week also based around the second and fourth Tuesday of the month.
I've been trying to find some code to use to determine the Tuesday within the month and use and IF else IF statement to kick off one function vs another. I cant seem to find code that will do this.
So it would be If Date = (second tues of the month) then function1()
else If Date = (fourth tues of the month) then function1()
else function2()
Im struggling with the Tuesday of the month and how to call it.
Any help would be appreciated.
I run Querys on a weekly basis usually on Tuesdays. I have ones that run every other week also based around the second and fourth Tuesday of the month.
I've been trying to find some code to use to determine the Tuesday within the month and use and IF else IF statement to kick off one function vs another. I cant seem to find code that will do this.
So it would be If Date = (second tues of the month) then function1()
else If Date = (fourth tues of the month) then function1()
else function2()
Im struggling with the Tuesday of the month and how to call it.
Any help would be appreciated.