echo date_format($date, 'Y-m-d'); ?> 輸出: 2006-12-13. 例3 <?php $date = new DateTime('2000-12-31');. $date->modify('+1 month');
確定! 回上一頁