Answers for "php get next 10 days from manual date"

PHP
0

php script to calculate next 50 days from current date

$NewDate=Date('y:m:d', strtotime('+50 days'));
Posted by: Guest on September-04-2020
0

how to get n days from today in php

//Simple method how to get the date of tomorrow, yesterday, etc. is to use: 
$tomorrow = date( "Ymd", strtotime( "+1 days" ) ); 
$dayaftertomorrow = date( "Ymd", strtotime( "+2 days" ) ); 
$yesterday = date( "Ymd", strtotime( "-1 days" ) );
Posted by: Guest on June-03-2021

Browse Popular Code Answers by Language