title: Time is wrong when get datetime in yii2
body: <p>I have a problem when I get datetime in my yii2 project. When I get datetime, the date is true but the time is wrong. I execute my code and the result is :</p>
  
  <blockquote>
    <p>2016-05-02 12:30:28</p>
  </blockquote>
  
  <p>whereas the time in my laptop is : 19:30. What's the problem? I use time in Indonesia. This is my code:</p>
  
  <pre><code>$time = new \DateTime('now', new \DateTimeZone('UTC'));
  $model-&gt;tanggal_sampai = $time-&gt;format('Y-m-d H:i:s');
  </code></pre>