title: Android - Changing Phone's Timezone
body: <p>Is is possible to set the phone's timezone programmatically in android? I got this code</p>
  
  <pre><code> Calendar calendar = Calendar.getInstance();       
   SimpleDateFormat sdf = new SimpleDateFormat("dd-MMM-yyyy hh:mm:ss z");
   sdf.setTimeZone(TimeZone.getTimeZone("America/Los_Angeles"));
   System.out.println(sdf.format(calendar.getTime()));
  </code></pre>
  
  <p>but it does not change the phone's timezone. It only displays the timezone of America/Los Angeles. </p>