Corro este programa y obtengo un error
$year = date ('Y'); // Find the current year
$xmas = gregoriantojd (12, 25, $year);
$new_years = gregoriantojd (1, 1, $year + 1);
echo 'Christmas is on a ', jddayofweek( $xmas, 1);
echo ' and New Year\'s Day is on a ', jddayofweek( $new_years, 1) . '.';
Fatal error: Call to undefined function: gregoriantojd() in /var/www/html/proyectos/fecha.php on line 36
La funcion jddayofweek también manda el mismo error.
Gracias por la ayuda