demo_func_cal_from_jd.php:
<!DOCTYPE html> <html> <body> <?php $d=unixtojd(mktime(0,0,0,6,20,2007)); print_r(cal_from_jd($d,CAL_GREGORIAN)); ?> </body> </html>