标签:
function toweek($date){ $num = date(‘w‘,strtotime($date)); $week = array(‘0‘=>‘周日‘,‘1‘=>‘周一‘,‘2‘=>‘周二‘,‘3‘=>‘周三‘,‘4‘=>‘周四‘,‘5‘=>‘周五‘,‘6‘=>‘周六‘); return $week[$num];}
01时间处理--02 指定日期--转成星期
原文地址:http://www.cnblogs.com/bj-tony/p/5558513.html