Home > Backend Development > PHP Tutorial > 求循环输出间距1小时时间的思路

求循环输出间距1小时时间的思路

WBOY
Release: 2016-06-13 12:45:09
Original
856 people have browsed it

求循环输出间隔1小时时间的思路
例如,我想循环输出从2013年5月25日21点,至2013年6月1日21点,每隔1小时打印的一个时间。即
5-25 21:00
5-25 22:00
5-25 23:00
 ……
求思路指导,非常感谢!

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