摘要: 一、time() -- 返回当前的 Unix 时间戳 $nextWeek = time() + (7 * 24 * 60 * 60); echo 'Next Week: '. date('Y-m-d', $nextWeek) ."\n";二、mktime(时/分/秒/月/天/年) -- 取得一个日期... 阅读全文
posted @ 2014-07-16 21:40 来自星星的bug 阅读(322) 评论(0) 推荐(0) 编辑
摘要: 一、大小写转换 1、strtolower()--转换为小写。 echo strtolower("Hello WORLD!"); //hello world! 2、strtoupper()--转换为大写。 echo strtoupper("Hello WORLD!"); //HELLO W... 阅读全文
posted @ 2014-07-16 21:36 来自星星的bug 阅读(312) 评论(0) 推荐(0) 编辑