DateTimeZone import laravel php code example
Example 1: laravel date set timezone
edit /config/app.php
'timezone' => 'Asia/Dhaka'
Example 2: laravel timezone
Inside env
add DB config
DB_TIMEZONE=+08:00
edit /config/app.php
'timezone' => 'Asia/Dhaka'
Inside env
add DB config
DB_TIMEZONE=+08:00