title: how to deal with international time?
body: <p>i build a new website.but the host is in USA.i am not in USA.
  i need get the time on the website page to compare with one local Variable.
  But because of time difference,it has 8 hous difference。how to solve this problom?</p>
  
  <p>my code </p>
  
  <pre><code>SimpleDateFormat formatter = new SimpleDateFormat("HH:mm:ss");  
  java.util.Date currentTime = new java.util.Date();  
  String dateString = formatter.format(currentTime);  `
  </code></pre>
  
  <p>how to revise these code ?</p>