Retrieved time not converted to current time zone
<p>I have to convert the time which i get as input and convert to current time zone which had been set in device and display.
I tried some extent but the time not changed while converting.Have posted my code..</p>

<pre><code>String dateandtime="3/14/2013 2:38am" //EDT time
Calendar cal = Calendar.getInstance();
TimeZone z = cal.getTimeZone();
SimpleDateFormat  format1 = new SimpleDateFormat("MM/dd/yyyy hh:mma");  
format1.setTimeZone(z);
cal.setTime(format1.parse(dateandtime));
</code></pre>

<p>The value of "dateandtime" wil be EDT timezone and should convert to any of current time zone.. I receive the same date and time as output..</p>
