title: How to know the number of days between 2 dates in java?
body: <p>I'm trying to calculate the difference between two dates in java. For example,
  I have:</p>
  
  <pre><code>LocalDate TodayDate = LocalDate.now(); //That returns me ==&gt; year/month/day
  LocalDate ExpireDay = LocalDate.of("2018-01-12");
  </code></pre>
  
  <p>I want to know how many days are between the two dates, how can I do?
  I tried using <code>ExpireDay.minus(Period.ofDays());</code> but it doesn't work... :( </p>