1 $time='1544145617'; 2 if(is_numeric($time)) { 3 $weekday = array('星期日','星期一','星期二','星期三','星期四','星期五','星期六'); 4 5 dump($weekday[date('w', $time)]); 6 }
1 $time='1544145617'; 2 if(is_numeric($time)) { 3 $weekday = array('星期日','星期一','星期二','星期三','星期四','星期五','星期六'); 4 5 dump($weekday[date('w', $time)]); 6 }
转载于:https://www.cnblogs.com/luojie-/p/10081081.html