摘要: //方法一: <?php $now = time(); //指定日期用法 $now = strtotime('2014-01-08') ; $day = 3600*24; $total = 12; $days =array() ; for ($i=2;$i<$total;$i++) { $timer 阅读全文
posted @ 2016-02-17 17:16 Bit5566 阅读(1692) 评论(0) 推荐(0) 编辑
摘要: 代码如下: /*| Author: Yang Yu <niceses@gmail.com>| @param char|int $start_date 一个有效的日期格式,例如:20091016,2009-10-16| @param char|int $end_date 同上| @return 给定日 阅读全文
posted @ 2016-02-17 15:52 Bit5566 阅读(2160) 评论(0) 推荐(0) 编辑