`
liujinlong
  • 浏览: 24957 次
  • 性别: Icon_minigender_1
  • 来自: 深圳
社区版块
存档分类
最新评论

格式化时间

    博客分类:
  • java
 
阅读更多
SimpleDateFormat t=new SimpleDateFormat("yyyy-MM-dd hh:mm:ss");
String pd=t.parse("要转换的时间格式的字符串");
分享到:
评论

相关推荐

Global site tag (gtag.js) - Google Analytics