<?php
int jewishtojd ( int $month , int $day , int $year )
where,
$month = The month number
$day = The day number
$year = The year number
?>
<?php
$mm01 = 6;
$dd01 = 1;
$yy01 = 5779;
$jewishtojd01 = jewishtojd($mm01, $dd01, $yy01);
echo $mm01 . '-' . $dd01 . '-' . $yy01 .
'<sub>(month-day-year) Jewish Calendar</sub> => ' .
$jewishtojd01 . '<sub>JDC</sub>';
?>