Guest User

Untitled

a guest
Jun 24th, 2018
77
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.16 KB | None | 0 0
  1. import com.deluan.gaelyk.SpringApplicationContext
  2.  
  3. def dateFormat = SpringApplicationContext.getBean('dateFormat')
  4. def now = new Date()
  5.  
  6. println dateFormat.format(now)
Add Comment
Please, Sign In to add comment