摘要: function time_tran($the_time){ $now_time = date("Y-m-d H:i:s",time()+8*60*60); $now_time = strtotime($now_time); $show_time = strtotime($the_time); $dur = $now_time - $show_time; if($dur < 0){ return $the_time; }else{ if($dur < 60){ return $dur.'秒前'; }else{ if($d... 阅读全文
posted @ 2014-03-26 00:49 jshaibozhong 阅读(425) 评论(0) 推荐(0) 编辑