摘要: function timediff($begin_time,$end_time) { if($begin_time $days,"hour" => $hours,"min" => $mins,"sec" => $secs); return $res; } $time = '2015-03-20,16:20:30'; $year=substr($time,0,4);//取得年份 ... 阅读全文
posted @ 2017-03-08 11:00 心静,路远 阅读(1375) 评论(0) 推荐(0) 编辑