Locale Setting In Yii

Hi all,

My application allow the user to set their timezone, I would like to know how Yii2 convert the date_time reflecting their custom timezone. For example I save create_at column based on GMT, and the user set their custom timezone to GMT+7. How can I display the time on GMT + 7.

Thanks,

Dong

You have to convert it yourself.