php中的time(),date(),mktime(),strtotime() time():返回当前的unix时间戳;date():格式化一个本地的时间戳;
mktime(时,分,秒,月,日,年):取得一个日期的时间戳;
strtotime():将任何英文文本的日期时间描述解析为unix时间戳
echo time();
echo date('y-m-d h:i:s',time());
echo mktime(13,54,55,9,18,2015);
echo strtotime(now);
echo strtotime(10 september 2015);
echo strtotime(+1 day);
echo strtotime(+1 week);
echo strtotime(next thursday);
echo strtotime(last monday);
http://www.bkjia.com/phpjc/1074129.htmlwww.bkjia.comtruehttp://www.bkjia.com/phpjc/1074129.htmltecharticlephp中的time(),date(),mktime(),strtotime() time():返回当前的unix时间戳; date():格式化一个本地的时间戳; mktime(时,分,秒,月,日,年):取得一个...
