How can you format LocalDateTime.now() to display as "dd/MM/yyyy HH:mm:ss"?
LocalDateTime.now()
Using DateTimeFormatter.ofPattern("dd/MM/yyyy HH:mm:ss")
DateTimeFormatter.ofPattern("dd/MM/yyyy HH:mm:ss")
Using LocalDateTime.format(DateTimeFormatter.ofPattern("dd/MM/yyyy HH:mm:ss"))
LocalDateTime.format(DateTimeFormatter.ofPattern("dd/MM/yyyy HH:mm:ss"))
Using DateTimeFormatter.ofPattern("dd/MM/yyyy HH:mm:ss") or LocalDateTime.format(DateTimeFormatter.ofPattern("dd/MM/yyyy HH:mm:ss"))
None of the options