Answers for "get days between two dates by month in php"

PHP
1

php get day diff

$now = time(); // or your date as well
$your_date = strtotime("2010-01-31");
$datediff = $now - $your_date;

echo round($datediff / (60 * 60 * 24));
Posted by: Guest on April-22-2020

Code answers related to "get days between two dates by month in php"

Browse Popular Code Answers by Language