title: php add or subtract timezone offset
body: <p>I have some dates stored in gmt in a mysql db.<br>
  Say the clients timezone offset was -540; how would I correct the <code>datetime</code> coming from the database to reflect that? Is there a handy function I can put the date through, or am I going to need to add or subtract accordingly.</p>