String dateTime = formatter.format(LocalDateTime.now()); System.out.println(dateTime); //2018-Dec-21 11:14:12.
確定! 回上一頁