Home > Backend Development > PHP Tutorial > PHP DATE 怎么取得当月的第一天和最后一天

PHP DATE 怎么取得当月的第一天和最后一天

WBOY
Release: 2016-06-13 12:29:06
Original
1059 people have browsed it

PHP DATE 如何取得当月的第一天和最后一天!

echo date('Y-m-01',time()).'----'.date('Y-m-t',time())


转载自:http://www.9958.pw/post/php_date

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