字符串类型的时间数据怎样转换成date类型SimpleDateFormat format = new SimpleDateFormat("yyyy-MM-dd");Date date = new Date();format.format(date);