title: Set default timezone in Yii
body: <p>I am using following config for timezone in <strong>config.php</strong></p>
  
  <pre><code>'timeZone' =&gt; 'UTC',
  </code></pre>
  
  <p>It is working fine and all dates are stored in database according to <strong>UTC</strong>. Now each user has its own timezone in his/her profile like <strong>UTC+5</strong>, <strong>UTC-5</strong>, <strong>UTC+0</strong>, etc.</p>
  
  <p>Now how can I show dates in reports according to user timezone. I used active record to fetch records from database. Is there any general way for all queries or we have to convert date to user timezone each time manually in php ??</p>
  
  <p>Thanks.</p>