×

Welcome to TagMyCode

Please login or create account to add a snippet.
0
0
 
0
Language: Java
Posted by: marte 32
Added: Mar 11, 2022 7:33 PM
Modified: Mar 12, 2022 10:55 AM
Views: 401
Tags: no tags
  1. DateTimeFormatter dtf = DateTimeFormatter.ofPattern("dd/MM/yyyy");
  2.         LocalDate d = LocalDate.parse("dd/MM/yyyy", dtf);