文档分值:0

php >>> php >>> 时间函数

课程目录

数字操作函数
技巧
时间函数
算法
基础
进阶
strtotime

strtotime -- 将任何英文文本的日期时间描述解析为 Unix 时间戳

echo    strtotime("+1    day"),    "/n";
echo    strtotime("+1    week"),    "/n";
strtotime("+1    day    ".$day);
strtotime("2008-01-31    +1    month");
strtotime($day."    +1    day");

[ 该条目创建时间:2016-07-18 16:31:42 ]