Much easier than you thought (or even me for that matter)! Essentially, strtotime("last friday", time()) gets the timestamp ... last Friday!
Getting the current timestamp:
$unixNow = time(); echo date('r', $unixNow) . "<br />";
Getting last Friday:
$unixLastFriday = strtotime("last friday", $unixNow); echo date('r', $unixLastFriday) . "<br />";
Getting Friday before:
$unixFridayBeforeThat = strtotime("last friday", $unixLastFriday); echo date('r', $unixFridayBeforeThat) . "<br />";
source share