title: PHP date() function not giving correct time
body: <p>I am trying to figure out why php date() is giving me the wrong time, setting the actual time back 2 hours.</p>
  
  <pre><code>&lt;?php echo date("Y-m-d H:i:s"); ?&gt;
  </code></pre>
  
  <p>This gives 2011-01-01 03:14:04 instead of 2011-01-01 05:14:04. The hour is decreased by 2.
  I have not change my timezone for date() and when users visit the site I want the time to be correct for their timezone also. How can I get this to work using php?</p>