I am changing the timezone into Asia/Singapore at config/app.php, but when I try to do a date(\"Y-m-d H:i:s\"); the result is still in
The date() function php won't load configuration from Laravel config/app.php. To change timezone you should change it via php.ini on date.timezone parameter. Don't forget to restart your apache after change it.
Or if you wan't more flexibility, there are Carbon package. It has many usefull functions to deal with datetime operation.