LocalDateTime dateTime = LocalDateTime.now(); System.out.println(dateTime.format(DateTimeFormatter.ofPattern("yyyy-M-d"))); // 2015-7-20 ...
確定! 回上一頁