add one day to date('l') 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;
?>$date = new DateTime('2000-01-01');
$date->add(new DateInterval('P1D'));
Also in PHP:
- catch exception php of spetie
- count string length in php
- change execution time php
- april 6 2010 date format php
- PHP-specific format
- date formate in php
- PHP REDIRECTION
- create alphanumeric code php
- check if value in string php
- Woocommerce Display Custom Field value on the Email [Custom Field Display 3]
- 500 server error heroku laravel
- catching error php
- base64 image encode php
- carbon now
- creat folder in php
- PHP Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP;
- disab;e error reporting php
- base64 encode image php
- 500 server error laravel 7
- convert a string into uppercase php
- array in array key values unique
- check given string content specific word php
- execution time in php and how increase
- convert request image as base64 string php