title: Wrong results when adding milliseconds to java.util.date object
body: <p>Current time is <code>Sat Apr 04 15:02:00 AEST 2020</code>.</p>
  
  <p>In the following snippet, I create a Date object and add 86400000L milliseconds (1 day) to it:</p>
  
  <pre><code>Date date = new Date();
  date.setTime(date.getTime() + 86400000L);
  System.out.println(date);
  </code></pre>
  
  <p>The output is <code>Sun Apr 05 14:02:00 AEST 2020</code>. I don't understand why the result adds only 23 hours to my current time, instead of 24 hours.</p>
  
  <p>Any help would be appreciated.</p>