上网都到这么一个函数:
function tranTime($time){
$rtime = $time;
$time = time()-$time;
if ($time<60){
$str = "刚刚";
}elseif ($time<60*10){
$str = "一分钟前";
}elseif ($time<60*20){
$str = "十分钟前";
}elseif ($time<60*60){
$str = "三十分钟前";
}elseif ($time<60*60*2){
$str = "一小时前";
}elseif ($time<60*60*5){
$str = "两小时前";
}elseif ($time<60*60*12){
$str = "五小时前";
}elseif ($time<60*60*24){
$str = "十二小时前";
}elseif ($time<60*60*24*2){
$str = "一天前";
}elseif ($time<60*60*24*5){
$str = "两天前";
}elseif ($time<60*60*24*7){
$str = "五天前";
}elseif ($time<60*60*24*7*2){
$str = "一周前";
}elseif ($time<60*60*24*7*3){
$str = "两周前";
}elseif ($time<60*60*24*7*3){
$str = "三周前";
}else{
$str = date("y/m/d",$rtime);
}
return $str;
}
请问一下,$time<60*10这里为什么表示小于一分钟?这个60*10是什么意思,怎么计算的?