<?php $weekArray=array("日","一","二","三","四","五","六"); echo date('Y-m-d H:m:s',time()).' 星期'.$weekArray[date("w",time())]; ?> 输出结果:年-月-日 时:分:秒 星期几
本文版权所有,转载须注明:来源 https://www.qvdv.net/qvdv-oop-118.html