Skip to content

Instantly share code, notes, and snippets.

@Guigoz
Created October 18, 2013 10:37
Show Gist options
  • Save Guigoz/7039697 to your computer and use it in GitHub Desktop.
Save Guigoz/7039697 to your computer and use it in GitHub Desktop.
GROOVY : Time duration
def timeStart = new Date()
println groovy.time.TimeCategory.minus(new Date(), timeStart)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment