Pronto no, ma lo si fa in fretta:

Codice PHP:

function getRemaining(fromto)
{
  if(!
to)
     return 
null;
  if(!
from)
     
from = new Date();
  
  var 
fromTime from.getTime();
  var 
toTime to.getTime();

  if(
to from)
    return 
"Già Passaato";
  var 
diff to from;
  var 
tmp diff / (1000 60 60 24);
  var 
days parseInt(""+tmp);
  
diff diff - (days 60 60 24 1000);
  
tmp diff / (1000 60 60);
  var 
hours parseInt(""+tmp);
  
diff diff - (hours 60 60 1000);
  
tmp diff / (1000 60);
  var 
minutes parseInt(""+tmp);
  
diff diff - (minutes 60 1000);
  
tmp diff / (1000);
  var 
seconds parseInt(""+tmp);
  return 
"Mancano "+days+" giorni "+hours+" ore "+minutes+" minuti "+seconds+" secondi";

A questo punto fai:

<body onload="alert(getRemaining(null, new Date(2008,09,13,17,30,00)))">
</body>
Per avere quanto manca dal momento corrente alle 17:30 di oggi

N.B. nel costruttore i mesi vanno da 0=Gennaio a 11=Dicembre, quindi 09 è ottobre