add one day to date 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:
- add days to date php
- detectar comienzo cadena php
- date formant php
- explode in php
- datetime print format php
- delete all laravel cache
- date format php l with capital
- composer update php mbstring.so missing
- check if strlen more than 10 laravel
- array_key_exists php to python
- delete register option laravel 7
- create model, controller and migration in single command laravel
- enable error showing php
- fetch files from directory php
- echo gettype
- console.log on php
- check if id is in key array php
- delete duplicate values from array php
- config cache clear with code laravel
- axios post php
- catch all exceptions php
- capitalise in php
- find a specific word in a string and add another string after that specific word php
- It is possible to perform an HTTPS redirect using PHP code as well as writing PHP code to prevent the browser from caching your we