Home >Backend Development >PHP Tutorial > 求算法解决方案

求算法解决方案

WBOY
WBOYOriginal
2016-06-13 13:17:24723browse

求算法
根椐日期 判断是第一年中的第几周

2012 - 07 - 22

------解决方案--------------------
echo date('W', strtotime('2012-07-22'));//29

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