Ver Mensaje Individual
  #7 (permalink)  
Antiguo 24/03/2004, 11:39
Avatar de AlZuwaga
AlZuwaga
Colaborador
 
Fecha de Ingreso: febrero-2001
Ubicación: 34.517 S, 58.500 O
Mensajes: 14.550
Antigüedad: 24 años, 2 meses
Puntos: 535
Cita:
Mensaje Original por ivan_noe
Alguien lo sabe hacer en milisegundos??????

Como he dicho, arroja decimales. Por lo tanto se pueden calcular fracciones de segundos. Si bien en devgurú dicen que devuelve hasta 7 pociciones decimales como se lee a continuación...


Cita:
Timer keeps track of the seconds to at least seven decimal places of accuracy. So, you can use Timer as a "stop watch" to find the start and finish times of an operation. Then simply display the difference to find the elapsed time. However, for very short elapsed time periods, the difference may displayed as zero.

... (y que para períodos muy breves puede ser 0 la diferencia)... nunca pude ver que devuelva más de 2 decimales (o sea, hasta centésimas de segundo). Por ejemplo, ejecutando el siguiente código:


<%
Inicio = Timer()
While Timer() < Inicio + 1
Response.Write Timer() & "<br>"
Wend
%>