摘要: 转载自:http://www.phppan.com/2011/06/php-strtotime/在前面的文章 中, 我们提到strtotime函数在使用strtotime(”-1 month”)求上一个月的今天时会出一些状况,因此也引出写这篇文章,本文包括如下内容:strtotime函数的一些用法strtotime函数的实现基本原理strtotime(”-1 month”)求值失败的原因strtotime函数的一些用法1、strtotime(”JAN”)和strtotime(”January”)这两个用法的效果是一样的,都是返回指定月份的今天,如果指定月份没有今天,则顺延到下一个月。 如在20 阅读全文
posted @ 2012-08-25 13:59 TobyDev 阅读(2699) 评论(0) 推荐(0) 编辑