Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVA

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);
Source by javaf1.com #
 
PREVIOUS NEXT
Tagged: #java #number #days #dates
ADD COMMENT
Topic
Name
2+4 =