Can I use strtotime() with other variables... for example:
Could I then find "3 days before that" or various other things from the result given as the variable "lastMonday"?PHP Code:$lastMonday = strtotime("last Monday");
It has to be executable from any day... So for example if it's sun/mon/tue/wed/thu and you want to find when the last Friday was and then count back to 4 days prior for the "monday" of last week and ALSO have separate variables displaying each day from last week (monday-sunday) and the current week... (or other weeks)


Reply With Quote
Bookmarks