php datetime subtract days 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))));