In PHP I wanted to fetch the first day and the last day of the last 7 days. I have the current date:
$data_actula = date("Y-m-d");
Now I want to go get the dates 7 days ago. For example, today is 2014-07-29, I want to find the 2014-07-22 value. With this I must always keep in mind the changes of the months. How can I reach this value?