php percentage remaining days code example
Example: count remaining days php
$future = strtotime('25 July 2021');
$now = time();
$timeleft = $future-$now;
$daysleft = round((($timeleft/24)/60)/60);
$future = strtotime('25 July 2021');
$now = time();
$timeleft = $future-$now;
$daysleft = round((($timeleft/24)/60)/60);