echo '从1970-01-01 00:00:00到现在,已经过去',time(),'秒了';
echo '<br />';
$time = time();
echo date('m/d Y H:i',$time);
echo '<hr />';
/*
strtotime,则是把字符串形式的时间转化成时间戳
*/
$birth = '1985-05-17';
echo strtotime($birth),'<br />';
// 从当前时间,退回1天的时间戳
echo strtotime('-1 day'),'<br />';
// 退回到一周前的时间戳
echo strtotime('-1 week'),'<br />';