javaAPI获取本地时间及指定格式


long start_time = System.currentTimeMillis();

 

new SimpleDateFormat("yyyyMM").format(new Date())

 

posted on 2019-08-21 10:05  tanada  阅读(298)  评论(0编辑  收藏  举报