Hi,
How can I write a select statement that will retrieve last monday's date without knowing what today's date is? I know that if today where monday and I wanted to know last monday's date, I could just subtract 7 from today's date. If today were Tuesday, I could subtract 8 and so forth. But is there a way that I can use the same select statement to get last monday's date regardless of what day of the week it is now?
Thanks in advance for your help.
How can I write a select statement that will retrieve last monday's date without knowing what today's date is? I know that if today where monday and I wanted to know last monday's date, I could just subtract 7 from today's date. If today were Tuesday, I could subtract 8 and so forth. But is there a way that I can use the same select statement to get last monday's date regardless of what day of the week it is now?
Thanks in advance for your help.