Boa Tarde,

   Acabo de criar um pequeno JavaScript que c�lcula o BEAT , hor�rio padr�o
      da Internet, espero que seja �til.

  Um abra�o e um bom final de semana ,



Rodrigo Quinhones    -  21 anos  - Estagi�rio

Banco Boavista Inter. -  Rio de Janeiro - Brasil

" Knowlodge will free us "

















Segue o c�digo:



<script language="JavaScript">
{

function fInternet_Time()
{
  var d,total,beat,tz,th,tm,ts,NetTime, s = "The current local time is ";

  d = new Date();
  tz = ( d.getTimezoneOffset() / 60 );
  th = ( d.getHours() * 3600)  ;
  tm = ( d.getMinutes() * 60) ;
  ts = d.getSeconds() ;
  total = ( th  + tm + ts ) ;
  NetTime = ( (total + ( tz * 3600 ) ) / 86.4  );
  beat =  Math.round(NetTime) ;
  theTime = window.setTimeout("fInternet_Time()", 3000);
  var display = beat ;
  status= "Internet Time: @ " + display;

}

}
</script>

<html>
<body  onload="fInternet_Time()" >
Desenvolvido por Rodrigo Quinhones
</body>
</html>

    --------------------------- LISTA SOUJAVA ---------------------------
    http://www.soujava.org.br  -  Sociedade de Usu�rios Java da Sucesu-SP
    [d�vidas mais comuns: http://www.soujava.org.br/faq.htm]
    [para sair da lista: http://www.soujava.org.br/forum/cadastrados.htm]
    [regras da lista: http://www.soujava.org.br/regras.htm]
    ---------------------------------------------------------------------

Responder a