Skip to main content
Version: Java (Groovy)

currentClock

currentClock returns the SystemClock.

Syntax

currentClock()

Parameters

This method takes no arguments.

Returns

The system clock.

Examples

println currentClock()