add d4 days in php\
<?php
// adding extra days to date
// Steps:
// 1) using carbon
// 2) using strtotime
//Step 1
$date = date('Y M d h:i:s') // 2020 09 22 22:09:26 UTC
$new_date = Carbon::parse($date->addDays(1); // adds extra day
// Step 2
$date = date('Y M d h:i:s') // 2020 09 22 22:09:26 UTC
echo $new_date = date('Y M d h:i:s', strtotime($date. '+1 day'));
?>
Also in PHP:
- Allowed memory size of 1610612736 bytes exhausted (tried to allocate 134217736 bytes) in phar in windows
- 413 error laravel
- add all error in pph
- character length in php
- ctrl + d in vscode in phpstorm
- check if a string is url or not php
- datetime print format php
- Connecting to Database sql
- current date display in php
- database last insert id php codeigniter
- creat new folder with php
- /DependencyResolver/Solver.php on line 223
- current time not current date php
- date php day of wekk
- debug php errors
- carbon between hours
- convert array to array
- check if front page wordpress
- Which are valid PHP error handling keywords? try throw catch finally
- codeigniter where_not_in
- PHP make an image from a random alphanumerric string
- .length php
- ** (process:82385): CRITICAL **: 22:54:20.169: string_replace: assertion 'self != NULL' failed
- buat table seeder laravel