title: How do I use calendar and timezone
body: <p>I´m doing an example using <code>Date</code> and <code>Calendar</code> classes, this is my code:</p>
  
  <pre><code>DateFormat dateFormat = new SimpleDateFormat("yyyy-MM-dd HH:mm:00Z");
  Calendar cal = Calendar.getInstance();
  cal.set(Calendar.YEAR, 2013);
  cal.set(Calendar.MONTH, Calendar.SEPTEMBER);
  cal.set(Calendar.DATE, 1);
  cal.set(Calendar.HOUR_OF_DAY, 12);
  cal.set(Calendar.MINUTE, 15);
  Date date = cal.getTime();
  TimeZone tz = TimeZone.getTimeZone("IST");
  
  
  dateFormat.setTimeZone(tz);
  String actual = dateFormat.format(date);
  
  System.out.println(actual);
  </code></pre>
  
  <p>I would expect as result <code>2013-09-01 12:15:00+0530</code> but the value return is <code>2013-09-01 15:45:00+0530</code> and I don´t know why.</p>