String —> Date
SimpleDateFormat sdf = new SimpleDateFormat("yyyy-MM-dd HH:mm:ss");
Date content= sdf.parse(contentStr);
String —> Date
SimpleDateFormat sdf = new SimpleDateFormat("yyyy-MM-dd HH:mm:ss");
Date content= sdf.parse(contentStr);
相关文章: