W3School TIY Editor
W3School 在线教程
改变方向
暗黑模式
"; // 输出周几、日、月、年,时间,上午或下午 echo gmdate("l jS \of F Y h:i:s A") . "
"; // 输出 October 3, 1975 was on a Friday echo "Oct 3, 1975 was on a ".gmdate("l", mktime(0,0,0,10,3,1975)) . "
"; // 在 format 参数中使用常量 echo gmdate(DATE_RFC822) . "
"; // 输出类似:1975-10-03T00:00:00+00:00 echo gmdate(DATE_ATOM,mktime(0,0,0,10,3,1975)); ?>