首页上一页 1 下一页尾页 1 条记录 1/1页
时间函数
发表在PHP图书答疑
2016-03-05
是否精华
是
否
版块置顶:
是
否
<?php
echo "返回的时间戳:".mktime.'<p>';
echo "当前日期为".date("Y-m-d",mktime()).'<p>';
echo "当前时间为:".date("H:i:s",mktime());
?>
报一下错误:
mktime
Strict Standards: mktime() [function.mktime]: You should be using the time() function instead in D:\AppServ\www\WebSite\index.php on line 77
2016-03-05
Strict Standards: mktime() [function.mktime]: You should be using the time() function instead in D:\AppServ\www\WebSite\index.php on line 78
10:01:04
echo "返回的时间戳:".mktime.'<p>';
echo "当前日期为".date("Y-m-d",mktime()).'<p>';
echo "当前时间为:".date("H:i:s",mktime());
?>
报一下错误:
mktime
Strict Standards: mktime() [function.mktime]: You should be using the time() function instead in D:\AppServ\www\WebSite\index.php on line 77
2016-03-05
Strict Standards: mktime() [function.mktime]: You should be using the time() function instead in D:\AppServ\www\WebSite\index.php on line 78
10:01:04