Responding to 9-month-old things is bad enough, but the code you posted is dependent on a specific setting of "DATEFIRST" and thus returns the wrong start-of-week date for me. The code I posted earlier works the same under any/all datefirst settings. What is the point of your post?
1 Like