Groovy web console

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

Clear time in a date

Published 6 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()