String date2 = df.format(new Date());// new Date()为获取当前系统时间,也可使用当前时间戳. System.out.println(date2); //2017-12-14 18:15:32. (二)时间戳:时间 ...
確定! 回上一頁