title: Converting date from UTC to PST in Java
body: <p>I need to convert date from Google App Engine local server time zone to pacific time in Java. </p>
  
  <p>I tried using</p>
  
  <pre><code>Calendar calstart =
  Calendar.getInstance();
  
  calstart.setTimeZone(TimeZone.getTimeZone("PST"));
  //calstart.setTimeZone(TimeZone.getTimeZone("America/Los_Angeles"));
  
  Date startTime = calstart.getTime();
  </code></pre>
  
  <p>but this gives me incorrect time (some 4pm when actual PST is 10pm). Also tried commented line <code>America/Los_Angeles</code> but gives incorrect time on GAE server.  </p>
  
  <p>Any thoughts/advice?</p>