Use time zone of device
<p>In my app i want to get the time zone of device and then use it in simple date format, here is my code:</p>

<pre><code> Calendar cal = Calendar.getInstance();
        TimeZone tz = cal.getTimeZone();


        SimpleDateFormat sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss'Z'") ;
        sdf.setTimeZone(tz);
</code></pre>

<p>i am getting correct id and display name from tz but the code does not works correctly for time.</p>
