<?php //顯示目前時間 now=getdate(time()); showxp=now["year"]."-".now["month"]."-".now["mday"]; echo showxp;?>