title: How can I easily convert dates from UTC via PHP?
body: <p>I am storing dates in a MySQL database in datetime fields in UTC. I'm using PHP, and I've called date_timezone_set('UTC') so that all calls to date() (without timestamp) return the date in UTC.</p>
  
  <p>I then have it so a given web site can select its timezone. Now I want dates to display in the site's timezone. So, if I have a date stored as '2009-04-01 15:36:13', it should display for a user in the PDT timezone (-7 hours) as '2009-04-01 08:36:13'.</p>
  
  <p>What is the easiest (least code) method for doing this via PHP? So far all I've thought of is</p>
  
  <pre><code>date('Y-m-d H:i:s', strtotime($Site-&gt;getUTCOffset() . ' hours', strtotime(date($utcDate))));
  </code></pre>
  
  <p>Is there a shorter way?</p>