Ver Mensaje Individual
  #1 (permalink)  
Antiguo 18/10/2005, 16:53
sofiacharni
 
Fecha de Ingreso: julio-2005
Mensajes: 24
Antigüedad: 18 años, 9 meses
Puntos: 0
Obtener el dia de la semana con jddayofweek()

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