Groovy web console

subscribe to the feed Subscribe
to this
site

groovy tests

Published 5 months ago by jernej
Actions  ➤ Edit in console Back to console Show/hide line numbers View recent scripts
use(groovy.time.TimeCategory){   
   println 1.minute.from.now
   println 10.hours.ago
   println 20.days.from.now
   println 3.months.from.now
   println 2.years.from.now
}