currentTimeMicros
currentTimeMicros
returns the number of microseconds since the epoch (1970-01-01T00:00:00Z).
The resolution is greater than or equal to currentTimeMillis()
.
Syntax
currentTimeMicros()
Parameters
This method takes no arguments.
Returns
The number of microseconds since the epoch (1970-01-01T00:00:00Z).
Examples
println currentClock().currentTimeNanos()
- Log