php获取当前日期星期几,php 获取当天或某个日期是星期几
效果:今天是:星期五今天是:礼拜五2010-12-12是:礼拜日[PHP]代码function getWeekName($data,$format = '星期'){$week = date( "D ",$data);switch($week){case "Mon ":$current = $format."一";break;case "Tue ":$current = $fo...