<?php
header("Content-Type:text/html;charset=utf-8");
// 输出日
echo date("l") . "<br>";
// 输出日、日期、月、年、时间 AM 或 PM
echo date("l jS \of F Y h:i:s A");
?>