title: Convert time from JSON string with PHP
body: <p>I have an issue with converting time string I get from JSON to another format. Somehow the date is set to minus 24 hours.
  Here's object from JSON</p>
  
  <pre><code> [date] =&gt; 2011-07-02T00:00:00+02:00
  </code></pre>
  
  <p>I'm using <code>strtotime()</code> and <code>date()</code></p>
  
  <pre><code>date('l, d F Y', strtotime($day-&gt;date));
  </code></pre>
  
  <p>But the output looks like this</p>
  
  <pre><code>FRIDAY, 01 JULY 2011
  </code></pre>
  
  <p>Obviously the date in JSON is Second of July. Does anyone have any idea why this happens? Am I missing something important? Will really appreciate any help!</p>