悠然哈哈哈

导航

2016年7月4日 #

如何利用java得到当前的时间和前一天的时间

摘要: 1.得到当前的时间 Ruby代码 Calendar cal = Calendar.getInstance(); String time=formatter.format(cal.getTime()); String strEnd=time.substring(0, 16);// 2007-10-30 阅读全文

posted @ 2016-07-04 20:35 悠然886 阅读(6792) 评论(0) 推荐(0) 编辑