I want to use strtotime(\"last Monday\").
strtotime(\"last Monday\")
The thing is, if today IS MONDAY, what does it return? It seems to be returning the date for the monday of la
Depending on exactly what you're using it for, this may be useful. Since one second's ambiguity is OK for my requirements, I use:
date( 'Y-m-d 23:59:59', strtotime( 'last sunday' ))
to get midnight on the most recent Monday (or today if today IS Monday).