How to get a meaningful result from subtracting 2 nanoTime objects?

Viewed 41653

I created a filter that monitors the length of a request.

long start = System.nanoTime();

...

long end = System.nanoTime();

How can I get the number of milliseconds from this now?

6 Answers
Related