title: Java: Convert MST to EST
body: <p>I've been trying to convert the time since epoch until today and display it in Eastern Standard Time. Here is what outputs on the remote machine (it's remotely hosted):</p>
  
  <pre><code>Date now = new Date(System.currentTimeMillis());
  System.out.println(now.toString());
  // Thu Apr 24 14:36:11 MST 2014
  </code></pre>
  
  <p>No idea what <code>MST</code> is, but I want to get the current milliseconds since epoch in EST, and display the result in EST.</p>
  
  <p>No matter what I do, I can't get daylights savings to work (it's currently Daylights Savings Time in the EST Time Zone); I either end up in PST, GMT or UTC, and when I do get "EST" it's either some random value or 1 hour behind or 3 hours behind.</p>
  
  <p>I would like the output to be formatted using this DateFormat:</p>
  
  <pre><code>DateFormat EXPIRE_FORMAT = new SimpleDateFormat("MMM dd, yyyy h:mm a z");
  </code></pre>