add one day in 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:
- client's ip address in php
- check whrew key in array have a value
- big int php
- create a random string in php
- Increase the PHP memory limit
- 1071 Specified key was too long; max key length is 1000 bytes (SQL: alter table `users` add unique `users_email_unique`(`email`))
- PHP header(refresh)
- How to check beautify json result using php
- display errors off php
- array_key_exists() function
- artisan laravel install
- artisan create new project
- artisan clear cahce
- create project laravel 7 ?
- Allowed memory size of 2147483648 bytes exhausted composer install
- array key is true
- array value unique php
- count length of string pphp
- change timestamp format php
- error out of length in php
- array_search in php
- 2 days in php
- error show all php
- factoring and seeding in laravel