Groovy web console
Subscribe
to this
site
Compare dates
Published 1 year ago by
Valentin
Actions
Execute script ▶
Edit in console
Back to console
Show/hide line numbers
View recent scripts
Date d2 = new Date() Date d1 = new Date() boolean b = d1.before(d2) print b