Forum Discussion
richie
8 years agoCommunity Hero
Hi,
I'm unsure if I'm understanding correctly - I've got a groovy script that returns the current date that I found somewhere else on the web a while ago
import org.codehaus.groovy.runtime.*;
def dateTime = new Date()
log.info (DateGroovyMethods.format(dateTime, 'dd/MM/yyyy'))Hope this helps, although unsure if it does!
richie