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

3 lines
119 B
Groovy

def nowMillis = new Date().time
println 'Milliseconds since the start of the UNIX Epoch (Jan 1, 1970) == ' + nowMillis