|
I need to script and find the date for tuesday - or dw = 3 when today is thursday...or friday... but i need to use the tue date as a constant value to place in a report that will be used for an order date.
(comments are locked)
|
(comments are locked)
|
|
simplest way without complicated arithmetic operations is
(comments are locked)
|
|
all of the time - so it should not matter if it's thur or friday at the time the query id executed, tue should be the return date.
(comments are locked)
|


So are you wanting a query that will, in effect, return "Next Tuesday's date"?