public static void main(String[] arg) throws ParseException{
SimpleDateFormat simpleDateFormat =new SimpleDateFormat("yyyy-MM-dd");
Date date=simpleDateFormat .parse("2010-06-25");
int timeStemp = date.getTime();
System.out.println(timeStemp );
}