Use of DateTimeFormatter

Posted on by Kim

Use DateTimeFormatter instead of SimpleDateFormat

DateTimeFormatter.ofPattern("yyyyMMdd_HHmm").format(LocalDateTime.now()));

0 Responses to "Use of DateTimeFormatter":