时间格式带Z带T转换
String time = "2017-11-30T10:41:44.651Z";
SimpleDateFormat df = new SimpleDateFormat("EEE, dd MMM yyyy HH:mm:ss 'GMT'");
String date = df.format(time.toDate());
时间格式带Z带T转换
String time = "2017-11-30T10:41:44.651Z";
SimpleDateFormat df = new SimpleDateFormat("EEE, dd MMM yyyy HH:mm:ss 'GMT'");
String date = df.format(time.toDate());
发布评论