Skip to main content
Version: Java (Groovy)

instantNanos

instantNanos returns the current Instant.

Syntax

instantMillis()

Parameters

This method takes no arguments.

Returns

The Instant.

Examples

println currentClock().instantMillis()