Answers for "java get number of days between 2 dates"

2

java number of days between dates

LocalDate start = LocalDate.parse("2020-11-03");
LocalDate end = LocalDate.parse("2020-12-15");

long diff = DAYS.between(start, end);
Posted by: Guest on February-12-2021

Code answers related to "java get number of days between 2 dates"

Code answers related to "Java"

Java Answers by Framework

Browse Popular Code Answers by Language