Get time difference

  • Thread starter Thread starter Sauron
  • Start date Start date
S

Sauron

Hiya

Does anyone know how I would get the difference between 2 times in
milliseconds? I am doing functions that may take less than a second, and I
need to know how many milliseconds it took. Also, for the function that did
take over a second, I need to format the time to take into account the
milliseconds as well. For example: Function 1 = 0.5 Secs, Function 2 = 3.7
Secs (The time is taken before and after the function call and I will
calculate the time based on these 2 times)

Thank you.

Regards,
Steve.
 
Back
Top