把每个月的天数加起来不就好了,说说具体需求吧,像获取2018年三月的天数如下:
// 获取2018年3月份的天数
$day = date('d', strtotime('2018-03'));
顶一下

(0)
0%
踩一下

(0)
0%
- 相关评论
- 我要评论
-