php date / time query on email header
<p>I have a couple of dates on an email header:</p>

<pre><code>[date] =&gt; Tue, 10 May 2016 03:13:24 -0700
[MailDate] =&gt; 10-May-2016 10:13:24 +0000
</code></pre>

<p>I received the email at 10:13am in my timezone.</p>

<pre><code>$d=strtotime("10-May-2016 10:13:24 +0000");
echo "Created date is " . date("Y-m-d h:i:sa", $d);
</code></pre>

<p>This is the output I get:</p>

<pre><code>Created date is 2016-05-10 11:13:24am
</code></pre>

<p>Shouldn't this show the time as 10:13:24am?</p>