title: Finding difference between two dates using Joda in Java
body: <p>I'm using Joda-Time and trying to find the difference between dates. </p>
  
  <p>Is there something wrong with my code?</p>
  
  <p>Here's my code :</p>
  
  <pre><code>LocalDate startDate = new LocalDate (19990-7-18);
  LocalDate endDate = new LocalDate (2013-07-18);
  Years Age = Years.yearsBetween(startDate, endDate);
  int Age1 = Age.getYears();
  String Age2 = new Integer(Age1).toString();
  </code></pre>
  
  <p>I'm using JOptionPane to view the result, and its telling I got 0 on (age1).</p>