Transform a groovy code to painless

(Lutundula Jeanchris) #1

I wanna translate this groovy code to a painless one :

use (groovy.time.TimeCategory) {
println new Date()

I tried this :

def date = new Date()
date =
return date

but it didn't work


(system) #2

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.