RosettaCodeData/Task/System-time/Groovy/system-time.groovy

3 lines
119 B
Groovy
Raw Permalink Normal View History

2023-07-01 11:58:00 -04:00
def nowMillis = new Date().time
println 'Milliseconds since the start of the UNIX Epoch (Jan 1, 1970) == ' + nowMillis