title: PHP4: Adjust date() and strtotime() for different timezones
body: <p>I'm working on a podcast (on-the-road events) that contains future dates and different time zones.</p>
  
  <pre><code>&lt;pubDate&gt;Wed, 14 Nov 2012 19:00:00 EST&lt;/pubDate&gt;
  &lt;pubDate&gt;Wed, 25 Jul 2012 19:00:00 CDT&lt;/pubDate&gt;
  &lt;pubDate&gt;Thu, 29 Mar 2012 19:00:00 MDT&lt;/pubDate&gt;
  </code></pre>
  
  <p>When I parse it with PHP4 (note PHP4), using date() and strtotime(), it adjusts the information and outputs it in the current timezone of the server (including daylight saving time changes).</p>
  
  <p>Code...</p>
  
  <pre><code>date("g:ia T", strtotime($item-&gt;pubDate));
  </code></pre>
  
  <p>Example...</p>
  
  <pre><code>&lt;pubDate&gt;Thu, 29 Mar 2012 19:00:00 MDT&lt;/pubDate&gt; outputs 8:00pm CDT
  </code></pre>
  
  <p>The expected output is 7:00pm MDT</p>
  
  <p>Again, I'm using PHP4, so I can't do DateTime()-type stuff.</p>
  
  <p>Basically, I just want it to just return the characters, instead of interpreting the characters.  Maybe I shouldn't use date() or strtotime() at all, but I'm not sure of another way to turn Wed into Wednesday, 19:00:00 into 7:00pm, etc.</p>