php判断之前的时间段
程序员文章站
2022-05-11 08:14:42
...
time() ? time() : intval($time); $t = time() - $time; //时间差 (秒) if ($t == 0) $text = '刚刚'; elseif ($t
time() ? time() : intval($time); $t = time() - $time; //时间差 (秒) if ($t == 0) $text = '刚刚'; elseif ($t