<!DOCTYPE html>
<html>
<body>

<?php
$jd=gregoriantojd(6,20,2007);
echo $jd . "<br>";
echo jdtogregorian($jd);
?>


</body>
</html>