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

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

WBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWB
WBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOriginal
2016-06-13 12:29:061066browse

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

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


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

Statement:
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