add days in datetime 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();
$date->modify('+1 day');
$date->modify('+5 week');
Also in PHP:
- check if a string contains a string php
- creade seeder in laravel using php command
- base64 decode php function
- artisan cache clear
- composer what to do get created laravel new project
- encode and decode data in php
- How to display MySQL data dynamically using jQuery and PHP
- $data=['user_id'] = Auth::user()->id;
- Upload image laravel 6
- array_push php
- currency convertor in php
- detect right click js
- error_reporting(e_all) in php
- check if there is string in string php
- clear cach in laravel
- add days in datetime php
- aget date time in php
- check if array has index php
- can php date be echoed as string
- file_get_contents(): SSL: Network is down
- confirm length of string in php
- eloquent model sort by ascending order
- find a word in a string php
- @ development: `cross-env NODE_ENV=development node_modules/webpack/bin/webpack.js --progress --config=node_modules/laravel-mix/setup/webpack.config.js`