from date to string java using localdate code example
Example 1: localdate to string java
LocalDate today = LocalDate.now();
System.out.println(today.toString());
Example 2: java date to localdate
LocalDate localDate = LocalDate.parse( new SimpleDateFormat("yyyy-MM-dd").format(date) );