title: Convert UTC Date to local Date
body: <p>I am converting from epoch time (which is in UTC) to a format as shown below. Now I tried different SO answers to convert <code>UTCDate</code> from <code>UTC</code> to local time. But I am not getting the local time. </p>
  
  <p>Any help would be appreciated.</p>
  
  <pre><code>String epochTime = "1436831775043";
  
  Date UTCDate = new Date(Long.parseLong(epochTime));
  Date localDate; // How to get this?
  
  SimpleDateFormat simpleDateFormat = new SimpleDateFormat("h:mm a");
  String result = simpleDateFormat.format(UTCDate);
  </code></pre>
  
  <p>Also, the conversion has to be done without the help of any external library.</p>