T-Square Posted April 23, 2009 Posted April 23, 2009 I am sure that this has been covered before, and I am sure it's a simple calculation, but I can't figure out how to find it or figure it. I want to calculate the date of "Next Tuesday" (or Wednesday, etc.), regardless of what today is. So if today were 04/20/2009 (Monday), the date would be 04/21/2009 (Tuesday), but if today were 04/22/2009 (Wednesday), the date would be 04/28/2009. TIA! David
comment Posted April 23, 2009 Posted April 23, 2009 Try: today + Mod ( w - DayofWeek ( today ) - 1 ; 7 ) + 1 where w is a number between 1 and 7, signifying the day of week.
Recommended Posts
This topic is 5695 days old. Please don't post here. Open a new topic instead.
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now