Skip to main content
Version: Java (Groovy)

nowMillisResolution

nowMillisResolution provides the current date-time as an Instant, with millisecond resolution according to the current [clock].

Syntax

nowMillisResolution()

Parameters

This method takes no arguments.

Returns

The current date-time.

Examples

println nowMillisResolution()