Question: how to calculate time difference in java 8?
Answer: println( years + " years " + months + " months " + days + " days " + hours + " hours " + minutes + " minutes " + seconds + " seconds."); //prints: 29 years 8 months 24 days 22 hours 54 minutes 50 seconds. The basic idea is this: create a temporary start date and get the full years to the end.