title: Comparing Timestamps in Java to get difference in days
body: <p>I'm retrieving two timestamps from a database (check_in and check_out). I need to compare the two to find out how many days have passed between the two timestamps.
  How can this be done in Java?</p>