<html>
<head><title>PHP TEST</title></head>
<body>

<p>前後の日付要素の取得</p>

<?php
require_once("Calendar/Day.php");

$day = new Calendar_Day(2007, 6, 30);

print("<p>本日の日付:");
print($day -> thisYear()."/");
print($day -> thisMonth()."/");
print($day -> thisDay());
print("</p>");

print("<p>今日:".$day -> thisDay()."日</p>");
print("<p>前日:".$day -> prevDay()."日</p>");
print("<p>次日:".$day -> nextDay()."日</p>");

?>
</body>
</html>