用PHP显示当前日期
把下列代码放到网页的指定显示位置:
<?php
$now_time = time();
$time = gmdate("M d Y", mktime($now_time));
echo $time;
?>本文地址:http://www.phprm.com/base/e7e3b2be6a387b2ddc61621abbad61a3.html
转载随意,但请附上文章地址:-)
把下列代码放到网页的指定显示位置:
<?php
$now_time = time();
$time = gmdate("M d Y", mktime($now_time));
echo $time;
?>本文地址:http://www.phprm.com/base/e7e3b2be6a387b2ddc61621abbad61a3.html
转载随意,但请附上文章地址:-)