cal_from_jd(jd,calendar)
jd - A number (a Julian day count). (required)
calendar - specifies the calendar to use. (required)
The following calendar values can be used:
<!DOCTYPE html> <html> <head> <title>PHP cal_from_jd()</title> </head> <body> <?php $d=unixtojd(mktime(0,0,0,1,18,2006)); print_r(cal_from_jd($d,CAL_GREGORIAN)); ?> </body> </html>