Convert date to gmt - php
<p>I am having a strange problem, maybe you can help:</p>

<p>I'm trying to convert a date to GMT time, and this is what I'm doing:</p>

<pre><code>$date = '2010-05-27 23:02:01';
$gmt_date = gmdate('Y-m-d H:i:s', $date );
</code></pre>

<p>but the yield of <code>$gmt_date</code> is this:
<code>1970-01-01 00:33:31</code></p>

<p>What am I doing wrong?</p>
