_Ritchie

2015年10月17日

Java中的Unix时间转换

摘要: 一、普通日期转换为Unix时间戳 SimpleDateFormat format = new SimpleDateFormat("yyyy-MM-dd HH:mm:ss");System.out.println(format.parse("2015-01-01 00:00:01").getTim... 阅读全文

posted @ 2015-10-17 10:46 _Ritchie 阅读(703) 评论(0) 推荐(0) 编辑

导航