add 2 days in php
<?php
// PHP program to add days to $Date
// Declare a date
$date = "2019-05-10";
// Add days to date and display it
echo date('Y-m-d', strtotime($date. ' + 10 days'));
?> $date = new DateTime('2000-01-01');
$date->add(new DateInterval('P1D'));
Also in PHP:
- ::contains php
- Builder::unique() laravel
- error_reporting()
- Warning: get_browser(): browscap ini directive not set in
- disable errors php
- copy php array to another
- codeigniter get last insert id model
- acf field without spaces
- check sizee string laravel
- decode base 64 php
- The main error reporting flags include
- curl in php
- display files using php
- check if string in another string php
- create random username with numbers and letters php
- date('N') php
- date time with am pm in php
- check if all values in array are equal php
- file_get_contents('php //input')
- capitalized string in php
- check if key of array key true or false php
- Allowed memory size of 1610612736 bytes exhausted (tried to allocate 4096 bytes) in phar://C:/composer/composer.phar/s
- create random_str laravel
- SOHW error details on php