Get time difference

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.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top