SyntaxFix
Write A Post
Hire A Developer
Questions
ChronoUnit.between
Use instances of ChronoUnit to calculate amount of time in different units (days,months, seconds).
ChronoUnit
For Example:
ChronoUnit.DAYS.between(startDate,endDate)