PHP 计算当前时间是这一年的第几周

$week = intval(date('W',time()));

 

猜你喜欢

转载自www.cnblogs.com/niuben/p/12335430.html