I need to calculate the last specific day from today, I looking for something like this:
echo date('Y-m-d', strtotime("last 10"));
// if current date is '2019-02-04' outputs '2019-01-10'
// if current date is '2019-02-14' outputs '2019-02-10'
Thanks