Possible Duplicate:
Calculating time difference in Milliseconds
How i can check how many milliseconds passed in some event in java?
For example:
Want to start timer here<<
function doSomething()
.
.
Want to finish timer here<<
I want to check how many milliseconds passed. Is there a way to do it?
1 Answer