Version: Java (Groovy)On this pagecurrentClockcurrentClock returns the clock used to compute the current time.SyntaxcurrentClock()ParametersThis method takes no arguments.ReturnsThe current clock.Examplesprintln currentClock()LogRelated DocumentationHow to work with date-timesJavadoc