fork(6) download
  1. def dateString = '2017-09-08 14:00:00+0200'
  2. def dateFormat = 'yyyy-MM-dd HH:mm:ssZ'
  3. def millis = Date.parse(dateFormat, dateString).time
  4. println millis
Success #stdin #stdout 0.81s 4456448KB
stdin
Standard input is empty
stdout
1504872000000