php获取某年某月的天数可以吗(不用cal_days_in_month)解决方法

WBOY
Release: 2016-06-13 12:06:38
Original
1091 people have browsed it

php获取某年某月的天数可以吗(不用cal_days_in_month)
如题。

由于服务器上当时好象没编译进去,有其他办法获取某年某月 的天数吗?
------解决思路----------------------
date("t",strtotime("2014-02-01"));

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template