码迷,mamicode.com
首页 > Web开发 > 详细

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

时间:2020-02-20 15:27:17      阅读:150      评论:0      收藏:0      [点我收藏+]

标签:style   col   int   php   当前时间   计算   date   time   span   

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

 

 

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

标签:style   col   int   php   当前时间   计算   date   time   span   

原文地址:https://www.cnblogs.com/niuben/p/12335430.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!