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