Version: Java (Groovy)On this pageinstantMillisinstantMillis returns the current Instant.SyntaxinstantMillis()ParametersThis method takes no arguments.ReturnsThe Instant.Examplesprintln currentClock().instantMillis()LogRelated DocumentationHow to work with date-timesJavadoc