Adjust String timestamp to GMT
<p>I have a <code>String</code> with local time:</p>

<pre><code>"2012-12-12T08:26:51+000"
</code></pre>

<p>I now need to create a <code>String</code> with GMT time based on the old <code>String</code>. For example, assuming 2 hours difference between local and GTM:</p>

<pre><code>"2012-12-12T10:26:51+000"
</code></pre>

<p>I have created a <code>SimpleDateFormat</code>:</p>

<pre><code>SimpleDateFormat dateFormat = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss+SSSS"); 
dateFormat.setTimeZone(TimeZone.getTimeZone("GMT"));
String time = dateFormat.parse(mCreatedTime).toString();
</code></pre>

<p>But the <code>time</code> String is now in different format:</p>

<pre><code>Wed Dec 12 etc
</code></pre>

<p>How do I get the output to be in format <code>yyy-MM-dd'T'HH:mm:ss+SSSS</code> but GMT time?</p>
