string to Date String的日期转换成Date

SimpleDateFormat strToDate =new SimpleDateFormat ("yyyy-MM-dd-hh:mm:ss");

InBlock.gifDate
date = strToDate.parse("2000-12-11-06:23:12");

你可能感兴趣的:(String,转换,日期)