Search
 
SCRIPT & CODE EXAMPLE
 

PHP

php date + one day

<?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;
?>
Comment

php add one day to date

// add 1 day to the date above
$n = date('Y-m-d', strtotime( $d . " +1 days"));
Comment

PREVIOUS NEXT
Code Example
Php :: How to check even or odd number in php 
Php :: laravel generate env 
Php :: a2dismod php 8.0 
Php :: check if ajax request php 
Php :: laravel show routes artisan 
Php :: how to make validate error when password doesnt match with password confirm laravel 
Php :: refresh seeder laravel 
Php :: get current datatime laravel 
Php :: composer install –ignore-platform-reqs 
Php :: laravel ui auth 
Php :: laravel check if array is empty 
Php :: smarty prestashop get language 
Php :: php strict-origin-when-cross-origin 
Php :: get am/pm from date in php 
Php :: php document root 
Php :: date_default_timezone_set india 
Php :: php get latest file in directory 
Php :: if any comma in string in php 
Php :: laravel 7 error npm run dev 
Php :: get template name wordpress 
Php :: install php-8 extentions 
Php :: compare hashed password and a text password in laravel 
Php :: laravel disable config cache 
Php :: laravel optimize clear 
Php :: how to run specific seeder in laravel 
Php :: how get the first item in foreach in laravel 
Php :: php change timezone 
Php :: laravel mix purge css 
Php :: php model last record 
Php :: php get ip address 
ADD CONTENT
Topic
Content
Source link
Name
5+5 =