Groovy web console

subscribe to the feed Subscribe
to this
site
Clear time in a date (via #groovywebconsole)
tweet this snippet Tweet
this
script

Clear time in a date

Published 3 years ago by Thando Mafela with tags date cleat timw
Actions  ➤ Edit in console Back to console Show/hide line numbers View recent scripts
Date date = new Date()
println date
println date.clearTime()