Set default timezone as Asia/KualaLumpur



How to set my web system time zone as Asia/KualaLumpur? So my data which recorded as timestamp same as timezone?


in your file core.php you must create:



Thank you for reply. I change the date_default_timezone_set('Asia/Kuala_Lumpur') on App_config.php which called / include on bootstrap.php


You can directly change the timezone under Datasource in app.php in CakePHP-3. I made changes in my application for “Asia/Kolkata” like 'timezone' => '+5:30' and it is working fine.