>>567
print($date1);<br>
print($date2);
?>
こういう感じですか?それだとエラーが出てしまうんですが。