My brain won't work (in fact it doesn't often when it comes to comparing dates). I need to check whether a date returned from the database is 7 days or less from the current date (can't do it in database as it is used to highlight events where entries close within 7 days or less).
What I have for now (which isn't working quite as expected) is:
$closing_date = strtotime('-7 day', strtotime($show['closing_date']));
$current_date = strtotime('Y-m-d');
if ($closing_date > $current_date) { .... }