php常用方法之时间格式化
pren 发布于 2021-10-12
function pincheTime($time) { $today = strtotime(date('Y-m-d')); //今天零点 $here = (int)(($time - $today)/86400) ; if($here==1){ return '明天'; } ...
阅读(513)评论(0)赞 (0)
pren 发布于 2021-10-12
function pincheTime($time) { $today = strtotime(date('Y-m-d')); //今天零点 $here = (int)(($time - $today)/86400) ; if($here==1){ return '明天'; } ...
阅读(513)评论(0)赞 (0)