Hola
PURACO
Creo que esto te servirá:
Código PHP:
<html>
<head>
</head>
<script type="text/javascript">
function contar() {
fecha=new Date(2005,12,24,0,0,0); //año,mes,dia,hora,minuto,segundo
ahora=new Date();
dif=new Date(fecha-ahora);
txt='Quedan '+dif.getDate()+' días, '+dif.getHours()+' horas, ';
txt+=dif.getMinutes()+' minutos y '+dif.getSeconds()+' segundos para Navidad';
document.getElementById('pepe').innerHTML=txt;
}
</script>
<body onload="setInterval('contar()',1000)">
<span id="pepe"></span>
</body>
</html>
Saludos,