function Get_Chinese_WeekDay($Join_Date)
{
$WeekDay = date(‘w’, strtotime($Join_Date));
$WeekList = array(‘日’, ‘一’, ‘二’, ‘三’, ‘四’, ‘五’, ‘六’);
return ‘星期’ . $WeekList[$WeekDay];
}
$Join_Date=date(“Y-m-d”);
echo Get_Chinese_WeekDay($Join_Date);
附:php获取本周周一、周日时间,上周周一、周日时间,本月第一天,本月最后一天,上个月第一天,最后一天时间
http://blog.csdn.net/bingfengsa/article/details/7394191
原创文章,作者:ItWorker,如若转载,请注明出处:https://blog.ytso.com/289631.html