subtract days php code example
Example: php remove 1 day from date
print('Next Date ' . date('Y-m-d', strtotime('-1 day', strtotime($date_raw))));
print('Next Date ' . date('Y-m-d', strtotime('-1 day', strtotime($date_raw))));