實例. 返回當前時間的Unix 時間戳,並格式化為日期:. <?php $t=time(); echo($t . "<br>"); echo(date("Y-m-d",$t)); ?> 運行實例». 定義和用法.
確定! 回上一頁