Ver Mensaje Individual
  #5 (permalink)  
Antiguo 15/09/2005, 16:50
marcomartinez
 
Fecha de Ingreso: agosto-2004
Mensajes: 95
Antigüedad: 22 años, 1 mes
Puntos: 2
Código PHP:
<?
function ultimo_dia($mes,$ano)
{return 
strftime("%d", mktime(0, 0, 0, $mes+1, 0, $ano));}

echo 
ultimo_dia(2,2008);
//29
?>
__________________
Marco de Arica (Chile)