title: Local time to EST time Conversion
body: <p>Android Local time to EST time Conversion</p>
  
  <p>Code:</p>
  
  <pre><code>SimpleDateFormat serverDateFormat=new SimpleDateFormat("yyyy/MM/dd HH:mm:ss");
  serverDateFormat.setTimeZone(TimeZone.getTimeZone("EST"));
  Calendar calender= Calendar.getInstance(Locale.getDefault());
  String  time=serverDateFormat.format(calender.getTime());
  </code></pre>
  
  <p>but i getting <strong>wrong time.</strong> 
  one hour difference from right time. 
  for eg : 
  local time : Tue Jul 07 17:30:00 GMT+05:30 2015
  formated time : 2015/07/07 07:00:00
  right time   :  2015/07/07 08:00:00</p>