Laravel Date Set Timezone
edit /config/app.php
'timezone' => 'Asia/Dhaka'
muchlisoft
edit /config/app.php
'timezone' => 'Asia/Dhaka'
// on a date column
$user->created_at->timezone('Asia/Kolkata')->toDateTimeString()
// Directly on a Carbon instance
Carbon\Carbon::parse('2018-01-22 04:09:31')->timezone('Asia/Kolkata')->toDateTimeString()
Check out these Links
Credit: https://laracasts.com/discuss/channels/laravel/change-date-timezone-in-laravel-project-while-fetching-date?page=1&replyId=576247
Actual Article: https://qcode.in/managing-users-timezone-in-laravel-app/
Inside env
add DB config
DB_TIMEZONE=+08:00
Look up this package below, you can Automatically Set a Local Timezone for Users:
https://github.com/jamesmills/laravel-timezone
Credit: https://laravel-news.com/laravel-timezone