Hi all. Hope the holidays have been good for you. Anyways If I had a date like so "2008-02-08". How can I take it and minus 7 days from it??
Tracy
$date = '2008-02-08' echo date('Y-m-d', strtotime('-7 days', strtotime($date)));
It would probably be more efficient to use:
echo date('Y-m-d', strtotime($date . ' -7 days'));
Both solutions work great!!
Prayer for Noggin!! Hope all goes well!