import java.text.*;
import java.text.SimpleDateFormat;
import java.util.*; import org.joda.time.DateTime;
import org.joda.time.format.ISODateTimeFormat; /**
* Created by sixinshuier on 2019/08/15
*/
public class Test { public static void main(String args[]) throws ParseException {
DateTime date = ISODateTimeFormat.dateTime().parseDateTime("2019-08-15T00:36:49.366456463Z");
DateFormat df = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss");
Date time = df.parse(date.toString());
SimpleDateFormat df1 = new SimpleDateFormat("EEE MMM dd HH:mm:ss Z yyyy", Locale.UK);
Date date1 = df1.parse(time.toString());
DateFormat df2 = new SimpleDateFormat("yyyy-MM-dd HH:mm:ss");
String str = df2.format(date1);
System.out.println(str);
}
}

最新文章

  1. 2014优秀的好用的20款免费jQuery插件推荐
  2. pkg-config
  3. JAVA 设计模式 迭代器模式
  4. Fragment与FragmentActivity的关系
  5. win7登录后开机密码破解读取
  6. GSM Hacking:如何对GSM/GPRS网络测试进行测试
  7. EF——使用Data Annotations和Fluent API配置数据库的映射配置 02.01(转)
  8. 自然数e这家伙怎么蹦跶出来的?
  9. iOS9适配系列教程
  10. CImageList使用简要说明
  11. bzoj 2734: [HNOI2012]集合选数
  12. winserver-查看登陆日志
  13. 2017-2018_OCR_papers汇总
  14. c/c++ include 头文件的方式
  15. POI如何自动调整Excel单元格中字体的大小
  16. USBDM RS08/HCS08/HCS12/Coldfire V1,2,3,4/DSC/Kinetis Debugger and Programmer -- MC9S08JM16/32/60
  17. 2018.09.08 NOIP模拟eat(贪心)
  18. 关于Android中Fragment静态和动态加载的方法
  19. xdotool xdotool模拟击键和鼠标移动--CutyCapt是一个截图工具,xvfb-run
  20. node中session的管理

热门文章

  1. Linux文件/proc/net/tcp分析
  2. Windows定时重新启动(适用于server 2012 r2)
  3. [计算机图形学]视图变换:MVP变换、视口变换
  4. 如何使用 Navicat Premium 的新“自动运行”工具自动运行行数据库复制。
  5. Using Sqoop to import from db2 to hadoop
  6. Loki日志系统
  7. redis.conf 配置说明
  8. 几种常见css布局
  9. 话说 wait、notify 、 notifyAll
  10. 剑指 Offer 34. 二叉树中和为某一值的路径 + 记录所有路径