Answers for "how to count the start date and now date 15 days php"

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

get 2 days before date in php

date('Y/m/d',strtotime("-1 days"));

Or Use DateTime class like this-

$date = new DateTime();
echo $date->modify("-1 days")->format('Y-m-d');
Posted by: Guest on June-22-2021

Browse Popular Code Answers by Language