php datetime doesn't match with my windows system
<p>I used <code>date("Y-m-d H:i:s");</code> to get current date time format but the result doesn't match with my Windows system.</p>

<p>Example:</p>

<pre><code>&lt;?php
echo "Current date time: ".date("Y-m-d H:i:s")."&lt;br /&gt;";
?&gt;
</code></pre>

<p>The sample code displaying result:</p>

<blockquote>
  <p>Current date time: 2012-05-30 01:58:21 </p>
</blockquote>

<p>But my Windows system date time is 2012-05-30 09:56:04</p>

<p>I have tried using <code>date_default_timezone_set('Asia/Singapore')</code> function to get my region datetime <strong>and it's work but I want it set default in my php.ini.</strong> </p>

<p>For example: <strong>(it's work)</strong></p>

<pre><code>&lt;?php
date_default_timezone_set('Asia/Singapore');
echo "Current date time: ".date("Y-m-d H:i:s")."&lt;br /&gt;";
?&gt;
</code></pre>

<p>I have also tried to set default value in php.ini that is <code>date.timezone = ""</code> changed to <code>date.timezone = "Asia/Singapore"</code> but doesn't work.</p>

<p>I use Windows 7 Home Premium 64bit and php-5.3.13-Win32-VC9-x86. Does anyone know how to match between these value?</p>
