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