add one day to date in php
<?php
$stop_date = '2009-09-30 20:24:00';
echo 'date before day adding: ' . $stop_date;
$stop_date = date('Y-m-d H:i:s', strtotime($stop_date . ' +1 day'));
echo 'date after adding 1 day: ' . $stop_date;
?>
Also in PHP:
- Best code editors for php
- db seeder artisan
- Jan 5, 2021 15:37:25 time format php
- custom time php function
- enable all errors php
- base64_decode() output to header location
- error text encode php json
- dynamic carousel bootstrap php
- blob image to base64 php
- How to execute “php artisan migrate” and other Laravel commands in remote server?
- download file zip from subdirectory using php
- cronjob cakephp
- Warning: file_get_contents(): SSL operation failed with code 1
- PackageManifest.php line 131: Undefined index: name
- changing php version in composer in server
- check if in array key php
- check data type php
- drupal/core 8.9.7 requires ext-dom * -> the requested PHP extension dom is missing from your system. composer install
- error reporting on ini
- check array is associative laravel
- check if array is duplicate and get the latest values php
- e_all error php
- Laravel route not calling function of controller
- check if char exists in string php