<p>What's a simple/easy way to access the system clock using Java, so that I can calculate the elapsed time of an event?</p>

```
java.lang.System.currentTimeMillis()
```
or
```
java.lang.System.nanoTime()
```
ought to work to measure elapsed time.