title: java - convert millisecond to localtime
body: <p>I need to convert millisecond value to local time
  For example, we have this value 1601981597562 when I convert it to Date in UTC it gives me the day will be Oct 10 but in local time it should be Oct 11</p>
  <pre><code>new DateTime(1601981597562)
  </code></pre>
  <p><a href="https://i.stack.imgur.com/jlEVA.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/jlEVA.png" alt="enter image description here" /></a></p>
  <p><a href="https://currentmillis.com/" rel="nofollow noreferrer">Ref</a></p>
  <p>My question whats the way to convert that timestamp to the local time to be Oct 11 instead of Oct 10</p>