troubleshooting Question

How do I get the date of a particular day in the week based on another date?

Avatar of Bruce Gust
Bruce GustFlag for United States of America asked on
MySQL Server
4 Comments1 Solution12 ViewsLast Modified:
In my database, I've got a "modified_date," representing the last time someone modified that particular row. Let's say, for example, the date is 2021-05-09. That's a Sunday. I need the date of the previous week's Monday, Tuesday, Wednesday, Thursday, etc. so, Monday would be May 3rd, Tuesday would be May 4th etc.

I need the dates of the week associated with whatever date is in the "modified_date" column.

How would I do that?


Join the community to see this answer!
Join our exclusive community to see this answer & millions of others.
Unlock 1 Answer and 4 Comments.
Join the Community
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 1 Answer and 4 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros