Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVA

difference between two LocalDateTime java

long minutes = ChronoUnit.MINUTES.between(fromDate, toDate);
long hours = ChronoUnit.HOURS.between(fromDate, toDate);
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #difference #LocalDateTime #java
ADD COMMENT
Topic
Name
2+9 =