<?php echo date("Y/m/d") . "<br>"; echo date("Y.m.d") . "<br>"; echo date("Y-m-d"); ?>
输出
2009/05/11 2009.05.11 2009-05-11