If i have code like this:
def yourDate= new GregorianCalendar( 2010, Calendar.OCTOBER, 1 )
SimpleDateFormat date=new SimpleDateFormat("yyyy-mm-dd");
def d=date.parse(yourDate);
is there any function in groovy which can give me milliseconds?