Se ti accontenti di avere un unix_timestamp:
codice:
$ echo "$(date +%s) - 60*60*24*7" | bc 
1166720585