SimpleDateFormat sdf = new SimpleDateFormat( "yyyy-MM-dd HH:mm:ss" );
Date startat = sdf.parse(要转的时间字符串);
String转为Date类型
猜你喜欢
转载自blog.csdn.net/weixin_41917449/article/details/81226696
今日推荐
周排行