Advertisement
alexandrecoussy

Untitled

Mar 31st, 2022
831
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Java 0.16 KB | None | 0 0
  1.      LocalDate localDate = LocalDate.parse("2022-03-11");
  2.      String converted = DateTimeFormatter.ofPattern("yyyy-MM-dd").format(localDate); // 2022-03-11
  3.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement