摘要: SimpleDateFormat sdf = new SimpleDateFormat("HH:mm:ss");//时间格式化String newDate = sdf.format(new Date());上面是24小时制的,12小时制的话使用,就把HH该为h... 阅读全文
posted @ 2018-04-28 14:00 anliex 阅读(54) 评论(0) 推荐(0)