Need to calculate a date in the future or past?

$eight_days_ago = date('Ymd', mktime(0,0,0,date("m"),date("d")-8,date("Y")));