Converting a date time to gmt date using php
<p>I have echo this PHP code </p>

<pre><code>echo gmdate("Y-m-d G:i:s");
</code></pre>

<p>Got this result:</p>

<pre><code>2012-02-23 9:30:000
</code></pre>

<p>When i echo this PHP code </p>

<pre><code>echo gmdate("Y-m-d G:i:s",strtotime("2012-02-23 15:00:00"));
</code></pre>

<p>got the result</p>

<p>But the actual gmt time for this is <code>2012-02-23 9:30:00</code> but iam getting</p>

<pre><code>2012-02-23 20:30:00
</code></pre>

<p>Any mistake i have done?</p>
