- 博客(1)
- 收藏
- 关注
原创 php 年周自定义开始时间计算
/* * 获取以星期天为一周的开始,计算年周 * liuyinggui * 2021-05-11 * 接收:年月日 * 返回:周数 * */ function get_sunday_week($date) { //年份 year=date(′Y′,strtotime(year = date('Y',strtotime(year=date(′Y′,strtotime(date)); //年的第一天 $year_start = $year . “-01-01 00:00:00”; //年的最后一天 $year_
2021-05-12 11:09:45
185
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人