PHP程序提取:
$currentDate = date("Y-m-d H:i");
echo $currentDate."<br/>";
echo "It is now " . date('l dS \o\f F Y h:i:s A', $currentDate)."<br />";
echo "It is now " .$currentDate."<br /><br />";
屏幕输出提取
2013-02-08 01:15
It is now Thursday 01st of January 1970 10:33:33 AM
It is now 2013-02-08 01:15