I'm afraid you have to do it manually. Get the date's current day of week, calculate the offset and add the offset to the date.
$current = date("w", $date)
$offset = $day - $current
$new_date = new DateTime($date)
->add(
new DateInterval($offset."D")
)->format('Y-m-d')