2016年3月16日

PHP获取指定年份指定月份的天数

摘要: 最近写接口的时候突然发现的非常实用的php函数,在这儿分享一下: cal_days_in_month(calender,$month,$year); calender:历法,常量,如CAL_GREGORIAN(阳历); $month:指定的月份; $year:指定的年份; 返回: 天数 如: $mo 阅读全文

posted @ 2016-03-16 10:52 袁来在这儿 阅读(1276) 评论(0) 推荐(0)

导航