代码: /* @desc:显示某一个时间相当于当前时间在多少秒前,多少分钟前,多少小时前 @param stamp 时间戳 @param format 时间显示格式,默认Y-m-d H:i:s */ function timefriend($stamp,$format = 'Y-m-d H:...