003.php-time() 返回当前时间的 Unix 时间戳,并格式化为日期: <?php $t=time(); echo($t . "<br>"); echo(date("Y-m-d",$t)); ?>