Home > Backend Development > PHP Tutorial > php获取某年某月的天数可以吗(不用cal_days_in_month)

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

WBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWB
Release: 2016-06-23 14:24:28
Original
1026 people have browsed it

如题。

由于服务器上当时好象没编译进去,有其他办法获取某年某月 的天数吗?


回复讨论(解决方案)

date("t",strtotime("2014-02-01"));

牛B!!!

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