Groovy中获取当前日期时间的步骤

Groovy中获取当前日期时间的方法使用new Date():println System.currentTimeMillis()//输出效果:129949188

Groovy中获取当前日期时间的方法
使用new Date():

println System.currentTimeMillis()//输出效果:1299491884469