Hello,
How can I determine what the date was (in YYYY-MM-DD format) last
Sunday, and the Sunday before that?
For example:
Today is Thursday, August 18, 2004 (2004-08-18). I would like to have
the following variables:
$this_past_sunday = 2004-08-14
$two_sundays_ago = 2004-08-07
$three_sundays_ago = 2004-07-31
etc. etc.
Thank you very much for your help in figuring this out!
- Eric