title: MySQL + PHP Timezone Issue
body: <p>I currently use <code>$curdate=date('Y-m-d H:i:s');</code> to enter a timestamp to my blog's MySQL.</p>
  
  <p>The problem is that the timezone of my MySQL is 2 hours ahead. At least in the timesaving period (I don't know if it is going to be any different when the timesaving period is over). </p>
  
  <p>How should I redefine $curdate so that it records correct time based on PST time?</p>