title: Converting date from UTC to EST in Java?
body: <p>I'm trying to convert a long timestamp that is UTC to Eastern Standard Time and am totally lost. Any hints would be great!</p>
  
  <p>Time format should be : 11/4/03 8:14 PM 
  Thanks in advance!</p>
  
  <pre><code>TimeZone utcTZ= TimeZone.getTimeZone("UTC");
  Calendar utcCal= Calendar.getInstance(utcTZ);
  utcCal.setTimeInMillis(utcAsLongValue);
  
  
  
  import java.text.SimpleDateFormat;
  import java.util.Date;
  
  SimpleDateFormat sdf= new SimpleDateFormat("yyyy-MM-dd HH:mm:ss zzz");
  sdf.setTimeZone(utcTZ);
  Date utcDate= utcCal.getTime();
  sdf.formatDate(utcDate);
  </code></pre>