Hi,

I'm doing a performance test on calling a function in different situation. I record the start and end time to a DateTime variable, and calculate the no. of seconds elapsed using Datediff function.

However, I found that it only accurate to seconds, if the different is less than 1, it will became 0. How can I measure the time in more accurate way?

Thx!