📅  最后修改于: 2022-03-11 14:54:14.125000             🧑  作者: Mango
代码示例1
$future = strtotime('25 July 2021');
$now = time();
$timeleft = $future-$now;
$daysleft = round((($timeleft/24)/60)/60);